diff options
author | Paul Gilbert | 2015-03-10 21:04:36 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-03-10 21:04:36 -0400 |
commit | 01c3e3b9d5dcb9393ddb659cf8f01e5dc771b38f (patch) | |
tree | 33f0a2f3f62a122bb9f7a763dcd5809f0ba44020 | |
parent | 879e44a2fb548040fdff83b82445ddea43678f32 (diff) | |
download | scummvm-rg350-01c3e3b9d5dcb9393ddb659cf8f01e5dc771b38f.tar.gz scummvm-rg350-01c3e3b9d5dcb9393ddb659cf8f01e5dc771b38f.tar.bz2 scummvm-rg350-01c3e3b9d5dcb9393ddb659cf8f01e5dc771b38f.zip |
MADS: Fix door animations for South Elevator
-rw-r--r-- | engines/mads/nebular/nebular_scenes5.cpp | 2 | ||||
-rw-r--r-- | engines/mads/nebular/nebular_scenes7.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/nebular/nebular_scenes5.cpp b/engines/mads/nebular/nebular_scenes5.cpp index 7cdc55e03c..98efeba82f 100644 --- a/engines/mads/nebular/nebular_scenes5.cpp +++ b/engines/mads/nebular/nebular_scenes5.cpp @@ -2641,7 +2641,7 @@ void Scene513::actions() { _scene->_sequences.updateTimeout(-1, _globals._sequenceIndexes[4]); _game._player._visible = true; _scene->_sequences.remove(_globals._sequenceIndexes[2]); - _globals._sequenceIndexes[2] = _scene->_sequences.startPingPongCycle(_globals._spriteIndexes[2], false, 7, 1, 0, 0); + _globals._sequenceIndexes[2] = _scene->_sequences.addReverseSpriteCycle(_globals._spriteIndexes[2], false, 7, 1, 0, 0); _scene->_sequences.setDepth(_globals._sequenceIndexes[2], 2); _vm->_sound->command(24); _scene->_kernelMessages.reset(); diff --git a/engines/mads/nebular/nebular_scenes7.cpp b/engines/mads/nebular/nebular_scenes7.cpp index 006b3ca6ec..6e191b2eef 100644 --- a/engines/mads/nebular/nebular_scenes7.cpp +++ b/engines/mads/nebular/nebular_scenes7.cpp @@ -2287,7 +2287,7 @@ void Scene751::step() { case 62: _vm->_sound->command(17); - _globals._sequenceIndexes[1] = _scene->_sequences.startPingPongCycle(_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, 63); |