aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Kasak2009-07-18 05:21:01 +0000
committerDenis Kasak2009-07-18 05:21:01 +0000
commita44cda552561d13a596acafa5b8d1ce918585d92 (patch)
treeb764f8ce01ac600d9c1b2b87929c7b6321b119a6
parent128fe6ea21f885c020f821f75f5a47427825eef6 (diff)
downloadscummvm-rg350-a44cda552561d13a596acafa5b8d1ce918585d92.tar.gz
scummvm-rg350-a44cda552561d13a596acafa5b8d1ce918585d92.tar.bz2
scummvm-rg350-a44cda552561d13a596acafa5b8d1ce918585d92.zip
Fixed bug which caused animations to sometimes be played too fast if the engine was busier than usual (like when redrawing the whole screen when returning from minimized state).
svn-id: r42585
-rw-r--r--engines/draci/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/draci/animation.cpp b/engines/draci/animation.cpp
index 12661aff66..0d56ea810f 100644
--- a/engines/draci/animation.cpp
+++ b/engines/draci/animation.cpp
@@ -86,7 +86,7 @@ void Animation::nextFrame(bool force) {
} else {
_vm->_screen->getSurface()->markDirtyRect(frameRect);
_currentFrame = nextFrameNum();
- _tick += frame->getDelay();
+ _tick = _vm->_system->getMillis();
}
}