diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lure/room.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/lure/room.cpp b/engines/lure/room.cpp index 00caddb0f9..c12372a499 100644 --- a/engines/lure/room.cpp +++ b/engines/lure/room.cpp @@ -153,6 +153,8 @@ void Room::checkRoomHotspots() { int16 currentY = m.y(); HotspotDataList::iterator i; + _destRoomNumber = 0; + // Loop for each range of hotspot Ids for (int ctr = 0; ctr < 4; ++ctr) { for (i = list.begin(); i != list.end(); ++i) { @@ -209,7 +211,6 @@ void Room::checkRoomHotspots() { _hotspotId = 0; _hotspotNameId = 0; _hotspot = NULL; - _destRoomNumber = 0; } else { _hotspotNameId = entry->nameId; _hotspot = entry; |