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
This commit is contained in:
parent
128fe6ea21
commit
a44cda5525
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ void Animation::nextFrame(bool force) {
|
|||
} else {
|
||||
_vm->_screen->getSurface()->markDirtyRect(frameRect);
|
||||
_currentFrame = nextFrameNum();
|
||||
_tick += frame->getDelay();
|
||||
_tick = _vm->_system->getMillis();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue