aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2014-05-26 20:42:16 +0200
committerStrangerke2014-05-26 20:42:16 +0200
commit40fe6193b168ebb4b5dfa9ebc489e791559afc13 (patch)
tree48b75cf198d24c0d487f7030e420cab153045637
parent2878863fa486fdbf2cc2593a8c1ce633434e375e (diff)
downloadscummvm-rg350-40fe6193b168ebb4b5dfa9ebc489e791559afc13.tar.gz
scummvm-rg350-40fe6193b168ebb4b5dfa9ebc489e791559afc13.tar.bz2
scummvm-rg350-40fe6193b168ebb4b5dfa9ebc489e791559afc13.zip
MADS: Fix a bug in scene 701 (door sprite playing in weird orders)
-rw-r--r--engines/mads/nebular/nebular_scenes7.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/nebular/nebular_scenes7.cpp b/engines/mads/nebular/nebular_scenes7.cpp
index 605484707f..b31a35913b 100644
--- a/engines/mads/nebular/nebular_scenes7.cpp
+++ b/engines/mads/nebular/nebular_scenes7.cpp
@@ -233,7 +233,7 @@ void Scene701::step() {
case 72:
_vm->_sound->command(17);
- _globals._sequenceIndexes[1] = _scene->_sequences.startReverseCycle(_globals._spriteIndexes[1], false, 5, 1, 0, 0);
+ _globals._sequenceIndexes[1] = _scene->_sequences.addReverseSpriteCycle(_globals._spriteIndexes[1], false, 5, 1, 0, 0);
_scene->_sequences.setPosition(_globals._sequenceIndexes[1], Common::Point(48, 136));
_scene->_sequences.setDepth(_globals._sequenceIndexes[1], 10);
_scene->_sequences.addSubEntry(_globals._sequenceIndexes[1], SEQUENCE_TRIGGER_EXPIRE, 0, 73);