From a44cda552561d13a596acafa5b8d1ce918585d92 Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Sat, 18 Jul 2009 05:21:01 +0000 Subject: 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 --- engines/draci/animation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } } -- cgit v1.2.3