summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-18 19:17:16 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-18 19:17:16 +0300
commit0ae5f563f0a4b89054c960dbd51245f73d1cfaaa (patch)
treeb076a2a5323437de3834d8fe5592e1e2cc4a9492
parent269e558e490d0116daaeb3528f7b97cfd8672afc (diff)
downloadplus-0ae5f563f0a4b89054c960dbd51245f73d1cfaaa.tar.gz
plus-0ae5f563f0a4b89054c960dbd51245f73d1cfaaa.tar.bz2
plus-0ae5f563f0a4b89054c960dbd51245f73d1cfaaa.tar.xz
plus-0ae5f563f0a4b89054c960dbd51245f73d1cfaaa.zip
Fix map tiles animation speed.
-rw-r--r--src/game.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp
index f67fac098..8fdb2b230 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -543,6 +543,8 @@ void Game::logic()
actorSpriteManager->logic();
if (particleEngine)
particleEngine->update();
+ if (mCurrentMap)
+ mCurrentMap->update();
cur_time = static_cast<int>(time(nullptr));
}
@@ -562,9 +564,6 @@ void Game::slowLogic()
if (whoIsOnline)
whoIsOnline->slowLogic();
- if (mCurrentMap)
- mCurrentMap->update();
-
Being::reReadConfig();
if (killStats)
killStats->recalcStats();