diff options
author | Strangerke | 2015-11-13 11:36:04 +0100 |
---|---|---|
committer | Strangerke | 2015-11-13 11:36:04 +0100 |
commit | a475a7f18a221d5e9f31ec380bfe2a828b8537e2 (patch) | |
tree | a4e2e1960fa1298406e6e5de4654703229d84555 /engines/mads/nebular/nebular_scenes5.cpp | |
parent | 002a59c540cdb6a504fa195d38a8f2adf085f53d (diff) | |
download | scummvm-rg350-a475a7f18a221d5e9f31ec380bfe2a828b8537e2.tar.gz scummvm-rg350-a475a7f18a221d5e9f31ec380bfe2a828b8537e2.tar.bz2 scummvm-rg350-a475a7f18a221d5e9f31ec380bfe2a828b8537e2.zip |
MADS: Rex: Use a constant when checking _mainObjectSource
Diffstat (limited to 'engines/mads/nebular/nebular_scenes5.cpp')
-rw-r--r-- | engines/mads/nebular/nebular_scenes5.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/nebular/nebular_scenes5.cpp b/engines/mads/nebular/nebular_scenes5.cpp index 76eccf9714..3778a59eb3 100644 --- a/engines/mads/nebular/nebular_scenes5.cpp +++ b/engines/mads/nebular/nebular_scenes5.cpp @@ -2159,9 +2159,9 @@ void Scene511::actions() { _vm->_dialogs->show(51128); } else if (_action.isAction(VERB_LOOK, NOUN_PORTHOLE)) _vm->_dialogs->show(51122); - else if (_action.isAction(VERB_LOOK, NOUN_FISHING_LINE) && (_action._mainObjectSource == 4) && (_globals[kLineStatus] == 2)) + else if (_action.isAction(VERB_LOOK, NOUN_FISHING_LINE) && (_action._mainObjectSource == CAT_HOTSPOT) && (_globals[kLineStatus] == 2)) _vm->_dialogs->show(51126); - else if (_action.isAction(VERB_LOOK, NOUN_FISHING_LINE) && (_action._mainObjectSource == 4) && (_globals[kLineStatus] == 3)) + else if (_action.isAction(VERB_LOOK, NOUN_FISHING_LINE) && (_action._mainObjectSource == CAT_HOTSPOT) && (_globals[kLineStatus] == 3)) _vm->_dialogs->show(51133); else if (_action.isAction(VERB_LOOK, NOUN_STATUE)) _vm->_dialogs->show(51127); |