diff options
author | Andrew Kurushin | 2005-10-12 17:56:07 +0000 |
---|---|---|
committer | Andrew Kurushin | 2005-10-12 17:56:07 +0000 |
commit | 961cd63ae9342d3b55b088e34cc7832ad04df581 (patch) | |
tree | 67807f9992c2285207f1527cea55b525e1adfbf3 /saga | |
parent | 7db5abf7e805380fc354eb357c9d421a858dfcd1 (diff) | |
download | scummvm-rg350-961cd63ae9342d3b55b088e34cc7832ad04df581.tar.gz scummvm-rg350-961cd63ae9342d3b55b088e34cc7832ad04df581.tar.bz2 scummvm-rg350-961cd63ae9342d3b55b088e34cc7832ad04df581.zip |
fix #1324803 ITE: Freeze during storm
svn-id: r19035
Diffstat (limited to 'saga')
-rw-r--r-- | saga/animation.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/saga/animation.cpp b/saga/animation.cpp index c87e49fc76..68c7a0773a 100644 --- a/saga/animation.cpp +++ b/saga/animation.cpp @@ -340,6 +340,9 @@ void Anim::play(uint16 animId, int vectorTime, bool playing) { _vm->_events->queue(&event); } return; + } else { + anim->currentFrame = 0; + anim->completed = 0; } } @@ -348,9 +351,6 @@ void Anim::play(uint16 animId, int vectorTime, bool playing) { linkAnim = getAnimation(anim->linkId); debug(5, "Animation ended going to %d", anim->linkId); -// linkAnim->cycles = anim->cycles; -// linkAnim->currentFrame = 0; -// linkAnim->completed = 0; linkAnim->state = ANIM_PLAYING; animId = anim->linkId; frameTime = 0; |