summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 02d235e8d..1f4845833 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -1462,7 +1462,7 @@ void Being::logic()
if (frameCount < 10)
frameCount = 10;
- if (!isAlive() && mSpeed && Net::getGameHandler()->removeDeadBeings()
+ if (!isAlive() && mSpeed && gameHandler->removeDeadBeings()
&& static_cast<int> ((static_cast<float>(get_elapsed_time(mActionTime))
/ mSpeed)) >= frameCount)
{