aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/pegasus/neighborhood/neighborhood.cpp2
-rw-r--r--engines/pegasus/neighborhood/neighborhood.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/pegasus/neighborhood/neighborhood.cpp b/engines/pegasus/neighborhood/neighborhood.cpp
index 224d954eca..c8fc28e148 100644
--- a/engines/pegasus/neighborhood/neighborhood.cpp
+++ b/engines/pegasus/neighborhood/neighborhood.cpp
@@ -205,7 +205,7 @@ void Neighborhood::receiveNotification(Notification *, const NotificationFlags f
die(_extraDeathReason);
}
-void Neighborhood::arriveAt(RoomID room, DirectionConstant direction) {
+void Neighborhood::arriveAt(const RoomID room, const DirectionConstant direction) {
if (g_map)
g_map->moveToMapLocation(GameState.getCurrentNeighborhood(), room, direction);
diff --git a/engines/pegasus/neighborhood/neighborhood.h b/engines/pegasus/neighborhood/neighborhood.h
index 93d29b6622..8a38eb3389 100644
--- a/engines/pegasus/neighborhood/neighborhood.h
+++ b/engines/pegasus/neighborhood/neighborhood.h
@@ -132,7 +132,7 @@ public:
virtual void cantMoveThatWay(CanMoveForwardReason);
virtual void cantTurnThatWay(CanTurnReason) {}
virtual void cantOpenDoor(CanOpenDoorReason);
- virtual void arriveAt(RoomID room, DirectionConstant direction);
+ virtual void arriveAt(const RoomID room, const DirectionConstant direction);
virtual void turnTo(const DirectionConstant);
virtual void spotCompleted();
virtual void doorOpened();