diff options
Diffstat (limited to 'engines/lure/room.cpp')
-rw-r--r-- | engines/lure/room.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/lure/room.cpp b/engines/lure/room.cpp index 77a1ff7d71..224cbd8f79 100644 --- a/engines/lure/room.cpp +++ b/engines/lure/room.cpp @@ -166,9 +166,9 @@ void Room::checkRoomHotspots() { bool skipFlag = (entry->roomNumber != _roomNumber); if (!skipFlag) { - skipFlag = (((entry->flags & 0x80) == 0) && - ((entry->flags & 0x40) != 0)) || - ((entry->flags & 0x20) != 0); + skipFlag = (((entry->flags & HOTSPOTFLAG_HIGHLIGHTED) == 0) && + ((entry->flags & HOTSPOTFLAG_SKIP) != 0)) || + ((entry->flags & HOTSPOTFLAG_20) != 0); } if ((!skipFlag) && (entry->hotspotId < 0x409)) @@ -218,6 +218,7 @@ void Room::checkRoomHotspots() { _hotspot = entry; _hotspotId = entry->hotspotId; _isExit = false; + entry->flags |= HOTSPOTFLAG_HIGHLIGHTED; } } |