aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorPaul Gilbert2015-03-06 08:39:39 -0500
committerPaul Gilbert2015-03-06 08:39:39 -0500
commit763a962e1456fd8402be4992ab9069e9e507ebc8 (patch)
treeb870634c312f0626635380758fd2511748a9a12a /engines/mads
parent4c88d81cc2cbaf244922f01466447a1cef60f7fa (diff)
downloadscummvm-rg350-763a962e1456fd8402be4992ab9069e9e507ebc8.tar.gz
scummvm-rg350-763a962e1456fd8402be4992ab9069e9e507ebc8.tar.bz2
scummvm-rg350-763a962e1456fd8402be4992ab9069e9e507ebc8.zip
MADS: Fix animation of lab door opening
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/nebular/nebular_scenes5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/nebular/nebular_scenes5.cpp b/engines/mads/nebular/nebular_scenes5.cpp
index b657a61c2f..4fc603b607 100644
--- a/engines/mads/nebular/nebular_scenes5.cpp
+++ b/engines/mads/nebular/nebular_scenes5.cpp
@@ -1317,7 +1317,7 @@ void Scene506::handleDoorSequences() {
case 82:
_scene->_sequences.remove(_doorSequenceIdx);
- _doorSequenceIdx = _scene->_sequences.startPingPongCycle(_doorSpriteIdx, false, 7, 1, 0, 0);
+ _doorSequenceIdx = _scene->_sequences.addReverseSpriteCycle(_doorSpriteIdx, false, 7, 1, 0, 0);
_scene->_sequences.setDepth(_doorSequenceIdx, _doorDepth);
if (_actionFl)
_scene->_sequences.addSubEntry(_doorSequenceIdx, SEQUENCE_TRIGGER_EXPIRE, 0, 84);