diff options
-rw-r--r-- | engines/mads/action.cpp | 4 | ||||
-rw-r--r-- | engines/mads/hotspots.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/mads/action.cpp b/engines/mads/action.cpp index ab4a112b71..3367521d88 100644 --- a/engines/mads/action.cpp +++ b/engines/mads/action.cpp @@ -62,7 +62,7 @@ MADSAction::MADSAction(MADSEngine *vm) : _vm(vm) { _savedFields._mainObject = 0; _savedFields._secondObject = 0; _savedFields._secondObjectSource = 0; - _savedFields._articleNumber = 0; + _savedFields._articleNumber = PREP_NONE; _savedFields._lookFlag = false; } @@ -223,7 +223,7 @@ void MADSAction::set() { } if ((_hotspotId >= 0) && (_articleNumber > 0) && !flag) { - if (_articleNumber == 0xff) { + if (_articleNumber == PREP_RELATIONAL) { if (_secondObject >= 0) { int articleNum = 0; diff --git a/engines/mads/hotspots.cpp b/engines/mads/hotspots.cpp index 0853f66eac..ca05ad618c 100644 --- a/engines/mads/hotspots.cpp +++ b/engines/mads/hotspots.cpp @@ -66,7 +66,7 @@ int DynamicHotspots::add(int descId, int verbId, int seqIndex, const Common::Rec _entries[idx]._feetPos = Common::Point(-3, 0); _entries[idx]._facing = FACING_NONE; _entries[idx]._verbId = verbId; - _entries[idx]._articleNumber = 6; + _entries[idx]._articleNumber = PREP_IN; _entries[idx]._cursor = CURSOR_NONE; ++_count; |