diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/entity.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/entity.cc b/src/core/entity.cc index 2f8b8a5..7ff9d7b 100644 --- a/src/core/entity.cc +++ b/src/core/entity.cc @@ -146,7 +146,7 @@ Entity::Entity() : entity_model = 0; entity_body = 0; - entity_body = 0; + entity_body_info = 0; entity_motionstate = 0; entity_collision_shape = 0; @@ -185,7 +185,7 @@ Entity::Entity(std::istream & is) entity_model = 0; entity_body = 0; - entity_body = 0; + entity_body_info = 0; entity_motionstate = 0; entity_collision_shape = 0; @@ -236,8 +236,6 @@ Entity::~Entity() if (entity_body_info) delete entity_body_info; - - } void Entity::die() |