diff options
author | Paul Gilbert | 2014-06-01 23:30:41 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-06-01 23:30:41 -0400 |
commit | abb3038106660b4c020f59c43e4c0e048498f051 (patch) | |
tree | 616ef8beb770376b1293f4dcde7c958c4901c5e2 /engines/mads | |
parent | f372a1ca4c66596103b5fd758d49a89abeb0437a (diff) | |
download | scummvm-rg350-abb3038106660b4c020f59c43e4c0e048498f051.tar.gz scummvm-rg350-abb3038106660b4c020f59c43e4c0e048498f051.tar.bz2 scummvm-rg350-abb3038106660b4c020f59c43e4c0e048498f051.zip |
MADS: Fix for getting bottle
Diffstat (limited to 'engines/mads')
-rw-r--r-- | engines/mads/action.cpp | 2 | ||||
-rw-r--r-- | engines/mads/nebular/nebular_scenes7.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/action.cpp b/engines/mads/action.cpp index 42c528aaa1..207fcd9a11 100644 --- a/engines/mads/action.cpp +++ b/engines/mads/action.cpp @@ -347,7 +347,7 @@ void MADSAction::startAction() { DynamicHotspot &hs = dynHotspots.get(hotspotId - hotspots.size()); if ((hs._feetPos.x == -1) || (hs._feetPos.x == -3)) { startWalkingDirectly(hs._feetPos.x); - } else if (hs._feetPos.x == 0) { + } else if (hs._feetPos.x < 0) { player._prepareWalkFacing = hs._facing; } else if (_savedFields._commandSource == CAT_NONE || hs._cursor < CURSOR_WAIT) { player._needToWalk = true; diff --git a/engines/mads/nebular/nebular_scenes7.cpp b/engines/mads/nebular/nebular_scenes7.cpp index f64f1a99cb..50e4233fb7 100644 --- a/engines/mads/nebular/nebular_scenes7.cpp +++ b/engines/mads/nebular/nebular_scenes7.cpp @@ -1227,7 +1227,7 @@ void Scene704::enter() { _scene->_sequences.setPosition(_globals._sequenceIndexes[1], Common::Point(190, 122)); _scene->_sequences.setDepth(_globals._sequenceIndexes[1], 2); } - int idx = _scene->_dynamicHotspots.add(NOUN_BONES, VERB_LOOK_AT, _globals._sequenceIndexes[1], Common::Rect(0, 0, 0, 0)); + int idx = _scene->_dynamicHotspots.add(NOUN_BOTTLE, VERB_LOOK_AT, _globals._sequenceIndexes[1], Common::Rect(0, 0, 0, 0)); _bottleHotspotId = _scene->_dynamicHotspots.setPosition(idx, Common::Point(-2, 0), FACING_NONE); } |