diff options
Diffstat (limited to 'src/components.hpp')
| -rw-r--r-- | src/components.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components.hpp b/src/components.hpp index 60b4c8e..7d298ec 100644 --- a/src/components.hpp +++ b/src/components.hpp @@ -4,7 +4,7 @@ #include "dynamic-array.hpp" #include "macros.hpp" #include "physics.hpp" -#include "plugins.hpp" +#include "plugin-types.hpp" #include <BulletDynamics/Dynamics/btRigidBody.h> #include <LinearMath/btDefaultMotionState.h> @@ -74,8 +74,8 @@ struct InstPos { btScalar mass; }; struct InstBt { - btDefaultMotionState *motionState; - btRigidBody *rigidBody; + btDefaultMotionState *motionState = nullptr; + btRigidBody *rigidBody = nullptr; }; struct CompInstance { EntityHandle entHandle = EntityHandle_MAX; |
