aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/animation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/saga/animation.cpp b/engines/saga/animation.cpp
index 0438fb25ac..13174ba38c 100644
--- a/engines/saga/animation.cpp
+++ b/engines/saga/animation.cpp
@@ -500,6 +500,9 @@ void Anim::play(uint16 animId, int vectorTime, bool playing) {
_vm->_frameCount += 100; // make sure the waiting thread stops waiting
// Animation done playing
anim->state = ANIM_PAUSE;
+ anim->currentFrame = 0;
+ anim->completed = 0;
+
if (anim->linkId == -1) {
if (anim->flags & ANIM_FLAG_ENDSCENE) {
// This animation ends the scene
@@ -510,9 +513,6 @@ void Anim::play(uint16 animId, int vectorTime, bool playing) {
_vm->_events->queue(&event);
}
return;
- } else {
- anim->currentFrame = 0;
- anim->completed = 0;
}
}