diff options
author | Paul Gilbert | 2015-03-10 22:17:48 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-03-10 22:17:48 -0400 |
commit | e18a0af32b77901419865ccc8942c66cbd88e8bd (patch) | |
tree | 80f3ace4fb1ca891d87929a1a7bdb34cee9a378a | |
parent | 0e03995463c7ae2c297066c89f2fb55569be0392 (diff) | |
download | scummvm-rg350-e18a0af32b77901419865ccc8942c66cbd88e8bd.tar.gz scummvm-rg350-e18a0af32b77901419865ccc8942c66cbd88e8bd.tar.bz2 scummvm-rg350-e18a0af32b77901419865ccc8942c66cbd88e8bd.zip |
MADS: Fix incorrect depth for animation when repairing crack in ship
-rw-r--r-- | engines/mads/nebular/nebular_scenes8.cpp | 4 |
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); |