[Scummvm-cvs-logs] scummvm master -> e18a0af32b77901419865ccc8942c66cbd88e8bd
dreammaster
dreammaster at scummvm.org
Wed Mar 11 03:18:48 CET 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e18a0af32b MADS: Fix incorrect depth for animation when repairing crack in ship
Commit: e18a0af32b77901419865ccc8942c66cbd88e8bd
https://github.com/scummvm/scummvm/commit/e18a0af32b77901419865ccc8942c66cbd88e8bd
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-03-10T22:17:48-04:00
Commit Message:
MADS: Fix incorrect depth for animation when repairing crack in ship
Changed paths:
engines/mads/nebular/nebular_scenes8.cpp
diff --git a/engines/mads/nebular/nebular_scenes8.cpp b/engines/mads/nebular/nebular_scenes8.cpp
index 1a8e7ef..e18dfc6 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);
More information about the Scummvm-git-logs
mailing list