aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular
diff options
context:
space:
mode:
authorunknown2015-04-04 22:59:43 -0500
committerunknown2015-04-04 22:59:43 -0500
commitcb91e1518a3ba88e378d4e90cbe0d8e99ba4e639 (patch)
tree3179fd7bafffb35dfa8b0bd9e08c9de079f59154 /engines/mads/nebular
parentd6945864ea450cdaa20e5120771e3c497e5515ee (diff)
downloadscummvm-rg350-cb91e1518a3ba88e378d4e90cbe0d8e99ba4e639.tar.gz
scummvm-rg350-cb91e1518a3ba88e378d4e90cbe0d8e99ba4e639.tar.bz2
scummvm-rg350-cb91e1518a3ba88e378d4e90cbe0d8e99ba4e639.zip
MADS: Have Rex swim to correct spot when throwing burger or fish
Diffstat (limited to 'engines/mads/nebular')
-rw-r--r--engines/mads/nebular/nebular_scenes1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/nebular/nebular_scenes1.cpp b/engines/mads/nebular/nebular_scenes1.cpp
index bcc4fb43d5..c9eda08859 100644
--- a/engines/mads/nebular/nebular_scenes1.cpp
+++ b/engines/mads/nebular/nebular_scenes1.cpp
@@ -2589,8 +2589,8 @@ void Scene109::preActions() {
_game._player._walkOffScreenSceneId = 108;
if ((_action.isAction(VERB_THROW) || _action.isAction(VERB_GIVE) || _action.isAction(VERB_PUT))
- && (_action.isObject(NOUN_SMALL_HOLE) || _action.isObject(NOUN_TUNNEL))
- && (_action.isObject(NOUN_DEAD_FISH) || _action.isObject(NOUN_STUFFED_FISH) || _action.isObject(NOUN_BURGER))) {
+ && (_action.isTarget(NOUN_SMALL_HOLE) || _action.isTarget(NOUN_TUNNEL))
+ && (_action.isObject(NOUN_DEAD_FISH) || _action.isObject(NOUN_STUFFED_FISH) || _action.isObject(NOUN_BURGER))) {
int idx = _game._objects.getIdFromDesc(_action._activeAction._objectNameId);
if ((idx >= 0) && _game._objects.isInInventory(idx)) {
_game._player._prepareWalkPos = Common::Point(106, 38);