summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorTametomo <irarice@gmail.com>2009-04-15 20:08:21 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-15 20:10:13 +0200
commit9c2139f8b11f554cbc884bbb52278399e6994074 (patch)
treeb9b71740adb94bf9fd37d75dfb750cf34312806d /src/engine.cpp
parentdcca13ea04fd7aa9b1539c1325cd0e465f9b545a (diff)
downloadmana-9c2139f8b11f554cbc884bbb52278399e6994074.tar.gz
mana-9c2139f8b11f554cbc884bbb52278399e6994074.tar.bz2
mana-9c2139f8b11f554cbc884bbb52278399e6994074.tar.xz
mana-9c2139f8b11f554cbc884bbb52278399e6994074.zip
Moved tile animations outside of the clock time polling loop. There's no
need to poll the CPU for them, when they already can compensate for missed clock ticks. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 61293339..a0e475f6 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -148,7 +148,5 @@ void Engine::logic()
{
beingManager->logic();
particleEngine->update();
- if (mCurrentMap)
- mCurrentMap->update();
gui->logic();
}