aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorSven Hesse2010-08-08 01:04:46 +0000
committerSven Hesse2010-08-08 01:04:46 +0000
commite6f57854363452f3189e547ca945790d030ef409 (patch)
tree1a9a06c96f53dc24135e424b4ce17bb6e2ca5726 /engines/gob
parentf40b128bd9dc1356666ee81c5db9689aea762786 (diff)
downloadscummvm-rg350-e6f57854363452f3189e547ca945790d030ef409.tar.gz
scummvm-rg350-e6f57854363452f3189e547ca945790d030ef409.tar.bz2
scummvm-rg350-e6f57854363452f3189e547ca945790d030ef409.zip
GOB: Fix a VMD slot seeking regression
svn-id: r51914
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/scenery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/scenery.cpp b/engines/gob/scenery.cpp
index 7facfe01bf..c427e9299a 100644
--- a/engines/gob/scenery.cpp
+++ b/engines/gob/scenery.cpp
@@ -631,7 +631,7 @@ void Scenery::updateAnim(int16 layer, int16 frame, int16 animation, int16 flags,
if ((int32)_vm->_vidPlayer->getCurrentFrame(obj.videoSlot - 1) < frame)
props.startFrame = _vm->_vidPlayer->getCurrentFrame(obj.videoSlot - 1) + 1;
else
- props.startFrame = 0;
+ props.startFrame = frame;
_vm->_vidPlayer->play(obj.videoSlot - 1, props);
}