aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lure/hotspots.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index c628fa7baa..14df5ce2dc 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -3020,7 +3020,7 @@ void HotspotTickHandlers::npcRoomChange(Hotspot &h) {
// Get room exit coordinates
RoomExitCoordinateData &exitData = res.coordinateList().getEntry(
h.roomNumber()).getData(h.currentActions().top().roomNumber());
-
+
if (h.hotspotId() != RATPOUCH_ID) {
// Count up the number of characters in the room
HotspotList &list = res.activeHotspots();
@@ -3319,8 +3319,8 @@ bool PathFinder::process() {
}
final_step:
- if (_xPos < 0) add(LEFT, -_xPos);
- else if (_xPos > 0) add(RIGHT, _xPos);
+ if (_xPos < 0) add(RIGHT, -_xPos);
+ else if (_xPos > 0) add(LEFT, _xPos);
return true;
}