diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:31:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:31:03 +0300 |
commit | 9cdbed6c562f95e24e02f49630386f8b18884a02 (patch) | |
tree | 4dad8316607387c80b66cf42b2a806ffa1a3afed /src/being/being.cpp | |
parent | 3a7313c027407e3b35360a021c72fe78f181d81d (diff) | |
download | manaverse-9cdbed6c562f95e24e02f49630386f8b18884a02.tar.gz manaverse-9cdbed6c562f95e24e02f49630386f8b18884a02.tar.bz2 manaverse-9cdbed6c562f95e24e02f49630386f8b18884a02.tar.xz manaverse-9cdbed6c562f95e24e02f49630386f8b18884a02.zip |
Remove getter for gameHandler.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 2 |
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) { |