Skip to content

Commit

Permalink
MADS: Fix incorrect depth for animation when repairing crack in ship
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Mar 11, 2015
1 parent 0e03995 commit e18a0af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion engines/mads/nebular/nebular_scenes8.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit e18a0af

Please sign in to comment.