diff options
author | Filippos Karapetis | 2014-05-08 14:41:45 +0300 |
---|---|---|
committer | Filippos Karapetis | 2014-05-08 14:41:45 +0300 |
commit | 98518ef500bdb81ee7608cdebb16325dabd7bdc3 (patch) | |
tree | 4d60f8ee925b7624786b04f54f5d6aceafb92476 | |
parent | 0ab1e9d07bdcf012cc0025bb024329698529bf1d (diff) | |
download | scummvm-rg350-98518ef500bdb81ee7608cdebb16325dabd7bdc3.tar.gz scummvm-rg350-98518ef500bdb81ee7608cdebb16325dabd7bdc3.tar.bz2 scummvm-rg350-98518ef500bdb81ee7608cdebb16325dabd7bdc3.zip |
MADS: Bugfix for shooting down the monkey
-rw-r--r-- | engines/mads/nebular/nebular_scenes2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/nebular/nebular_scenes2.cpp b/engines/mads/nebular/nebular_scenes2.cpp index b86f9dbc75..2bb24be18b 100644 --- a/engines/mads/nebular/nebular_scenes2.cpp +++ b/engines/mads/nebular/nebular_scenes2.cpp @@ -3169,8 +3169,8 @@ void Scene209::preActions() { _game._player._walkOffScreenSceneId = 208; if (_globals[kMonkeyStatus] == 1) { - if ((_action.isAction(NOUN_SHOOT) || _action.isAction(NOUN_HOSE_DOWN)) && _action.isAction(NOUN_MONKEY) - && _action.isAction(NOUN_BLOWGUN) && _game._objects.isInInventory(OBJ_BLOWGUN) && _game._objects.isInInventory(OBJ_POISON_DARTS)) { + if ((_action.isAction(NOUN_SHOOT) || _action.isAction(NOUN_HOSE_DOWN)) && _action.isTarget(NOUN_MONKEY) + && _action.isObject(NOUN_BLOWGUN) && _game._objects.isInInventory(OBJ_BLOWGUN) && _game._objects.isInInventory(OBJ_POISON_DARTS)) { _game._player._prepareWalkPos = Common::Point(111, 129); _game._player._prepareWalkFacing = FACING_NORTHEAST; _game._player._needToWalk = true; |