aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/saga/animation.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/saga/animation.cpp b/engines/saga/animation.cpp
index b5fddf7c15..6d49d331f5 100644
--- a/engines/saga/animation.cpp
+++ b/engines/saga/animation.cpp
@@ -387,7 +387,13 @@ void Anim::play(uint16 animId, int vectorTime, bool playing) {
}
if (anim->currentFrame > anim->maxFrame) {
- anim->currentFrame = anim->loopFrame;
+
+ if (_vm->_interface->getMode() == kPanelVideo) {
+ // Videos never loop
+ _vm->_frameCount++;
+ anim->currentFrame++;
+ } else
+ anim->currentFrame = anim->loopFrame;
if (anim->state == ANIM_STOPPING || anim->currentFrame == -1) {
anim->state = ANIM_PAUSE;