diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lure/game.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/lure/game.cpp b/engines/lure/game.cpp index 39b54a7d9a..8e3d70e968 100644 --- a/engines/lure/game.cpp +++ b/engines/lure/game.cpp @@ -250,6 +250,10 @@ void Game::playerChangeRoom() { Point &newPos = fields.playerNewPos().position; delayList.clear(); + RoomData *roomData = res.getRoom(roomNum); + assert(roomData); + roomData->flags |= HOTSPOTFLAG_FOUND; + Hotspot *player = res.getActiveHotspot(PLAYER_ID); player->currentActions().clear(); player->setRoomNumber(roomNum); |