diff options
author | Paul Gilbert | 2014-04-12 20:53:10 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-04-12 20:53:10 -0400 |
commit | fc7e91691d73bcc0e58cd89f85597a2c42fd6d57 (patch) | |
tree | c20fad697634c0779a0bc31ee1c7382a83c09bd1 /engines/mads | |
parent | 85b7a8d019f7ba2246c49b9bb3a713f0388786f8 (diff) | |
download | scummvm-rg350-fc7e91691d73bcc0e58cd89f85597a2c42fd6d57.tar.gz scummvm-rg350-fc7e91691d73bcc0e58cd89f85597a2c42fd6d57.tar.bz2 scummvm-rg350-fc7e91691d73bcc0e58cd89f85597a2c42fd6d57.zip |
MADS: Added noun constants for walking through doors
Diffstat (limited to 'engines/mads')
-rw-r--r-- | engines/mads/nebular/nebular_scenes.h | 1 | ||||
-rw-r--r-- | engines/mads/nebular/nebular_scenes1.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/mads/nebular/nebular_scenes.h b/engines/mads/nebular/nebular_scenes.h index 357180e870..56ea52d2c8 100644 --- a/engines/mads/nebular/nebular_scenes.h +++ b/engines/mads/nebular/nebular_scenes.h @@ -90,6 +90,7 @@ enum Noun { NOUN_15F = 0x15F, NOUN_TIMEBOMB = 0x171, NOUN_VIEW_SCREEN = 0x180, + NOUN_WALK_THROUGH = 0x18B, NOUN_CAPTIVE_CREATURE = 0x1C3, NOUN_NATIVE_WOMAN = 0x1DC, NOUN_ALCOHOL = 0x310, diff --git a/engines/mads/nebular/nebular_scenes1.cpp b/engines/mads/nebular/nebular_scenes1.cpp index 0c752e9e44..9d0cf5f8ce 100644 --- a/engines/mads/nebular/nebular_scenes1.cpp +++ b/engines/mads/nebular/nebular_scenes1.cpp @@ -1316,7 +1316,7 @@ void Scene103::step() { void Scene103::actions() { if (_action._savedFields._lookFlag) { _vm->_dialogs->show(10322); - } else if (_action.isAction(395, 110)) { + } else if (_action.isAction(NOUN_WALK_THROUGH, NOUN_DOOR)) { switch (_vm->_game->_trigger) { case 0: _globals._sequenceIndexes[6] = _scene->_sequences.addSpriteCycle(_globals._spriteIndexes[6], false, 6, 1); |