aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorPaul Gilbert2015-03-10 22:17:48 -0400
committerPaul Gilbert2015-03-10 22:17:48 -0400
commite18a0af32b77901419865ccc8942c66cbd88e8bd (patch)
tree80f3ace4fb1ca891d87929a1a7bdb34cee9a378a /engines/mads
parent0e03995463c7ae2c297066c89f2fb55569be0392 (diff)
downloadscummvm-rg350-e18a0af32b77901419865ccc8942c66cbd88e8bd.tar.gz
scummvm-rg350-e18a0af32b77901419865ccc8942c66cbd88e8bd.tar.bz2
scummvm-rg350-e18a0af32b77901419865ccc8942c66cbd88e8bd.zip
MADS: Fix incorrect depth for animation when repairing crack in ship
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/nebular/nebular_scenes8.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/mads/nebular/nebular_scenes8.cpp b/engines/mads/nebular/nebular_scenes8.cpp
index 1a8e7efc60..e18dfc634d 100644
--- a/engines/mads/nebular/nebular_scenes8.cpp
+++ b/engines/mads/nebular/nebular_scenes8.cpp
@@ -904,8 +904,10 @@ void Scene804::enter() {
_game._player._stepEnabled = false;
}
} else {
- if (_globals[kBeamIsUp])
+ if (_globals[kBeamIsUp]) {
_globals._sequenceIndexes[8] = _scene->_sequences.startCycle(_globals._spriteIndexes[8], false, 1);
+ _scene->_sequences.setDepth(_globals._sequenceIndexes[8], 7);
+ }
if (_globals[kWindowFixed])
_globals._sequenceIndexes[4] = _scene->_sequences.startCycle(_globals._spriteIndexes[4], false, 1);