aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2014-04-06 00:24:42 -0400
committerPaul Gilbert2014-04-06 00:24:42 -0400
commita2871fb1b0eb96755404f584e94e267d8a629263 (patch)
tree01bec57a15de5260f18bbb29dc0cb3ce61f8f14a /engines
parent962d41e8ca6c0495209ffc1832c59606428d3a35 (diff)
downloadscummvm-rg350-a2871fb1b0eb96755404f584e94e267d8a629263.tar.gz
scummvm-rg350-a2871fb1b0eb96755404f584e94e267d8a629263.tar.bz2
scummvm-rg350-a2871fb1b0eb96755404f584e94e267d8a629263.zip
MADS: Fix display of scene inventory items
Diffstat (limited to 'engines')
-rw-r--r--engines/mads/nebular/nebular_scenes1.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/mads/nebular/nebular_scenes1.cpp b/engines/mads/nebular/nebular_scenes1.cpp
index 2a9b3c64ee..775f814999 100644
--- a/engines/mads/nebular/nebular_scenes1.cpp
+++ b/engines/mads/nebular/nebular_scenes1.cpp
@@ -155,14 +155,14 @@ void Scene103::enter() {
_globals._spriteIndexes[20] = _scene->_sequences.addSpriteCycle(_globals._spriteIndexes[5], false, 6);
if (_game._objects.isInRoom(OBJ_TIMER_MODULE))
- _vm->_game->_scene._hotspots.activate(371, false);
- else
_globals._spriteIndexes[26] = _scene->_sequences.addSpriteCycle(_globals._spriteIndexes[11], false, 6);
+ else
+ _vm->_game->_scene._hotspots.activate(371, false);
if (_game._objects.isInRoom(OBJ_REBREATHER))
- _vm->_game->_scene._hotspots.activate(289, false);
- else
_globals._spriteIndexes[25] = _scene->_sequences.addSpriteCycle(_globals._spriteIndexes[10], false, 6);
+ else
+ _vm->_game->_scene._hotspots.activate(289, false);
if (_globals[kTurkeyExploded]) {
_globals._spriteIndexes[24] = _scene->_sequences.addSpriteCycle(_globals._spriteIndexes[9], false, 6);