aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lure/game.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/lure/game.cpp b/engines/lure/game.cpp
index e247faccb2..57178470e4 100644
--- a/engines/lure/game.cpp
+++ b/engines/lure/game.cpp
@@ -355,8 +355,7 @@ void Game::playerChangeRoom() {
Hotspot *player = res.getActiveHotspot(PLAYER_ID);
player->currentActions().clear();
player->setRoomNumber(roomNum);
- //player->setPosition((newPos.x & 0xfff8) || 5, newPos.y & 0xfff8);
- player->setPosition(newPos.x, newPos.y);
+ player->setPosition((newPos.x & 0xfff8) | 5, newPos.y & 0xfff8);
player->setOccupied(true);
room.setRoomNumber(roomNum, false);