Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/entityprojectile.cc')
-rw-r--r--src/core/entityprojectile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/entityprojectile.cc b/src/core/entityprojectile.cc
index 108d347..440c46b 100644
--- a/src/core/entityprojectile.cc
+++ b/src/core/entityprojectile.cc
@@ -104,7 +104,7 @@ void EntityProjectile::reset()
}
// remove Docked and Destroyed entities from the physics simulation
- if (destroyed() || (state() == Entity::Docked) || (state() == Entity::Destroyed)) {
+ if (died() || (state() == Entity::Docked) || (state() == Entity::Destroyed)) {
if (entity_body) {