diff options
author | Matthew Hoops | 2012-04-06 15:19:32 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-04-06 15:19:32 -0400 |
commit | b07d03dedfdd842a1b55178c5c38a357ae4518c8 (patch) | |
tree | 56ed25e1e9c827af9f249a9f5f1acde61b63aa16 /engines/pegasus | |
parent | 2c2633e5443a6e3b168b8c7b3b33160f82ef0481 (diff) | |
download | scummvm-rg350-b07d03dedfdd842a1b55178c5c38a357ae4518c8.tar.gz scummvm-rg350-b07d03dedfdd842a1b55178c5c38a357ae4518c8.tar.bz2 scummvm-rg350-b07d03dedfdd842a1b55178c5c38a357ae4518c8.zip |
PEGASUS: Silence an MSVC warning
Diffstat (limited to 'engines/pegasus')
-rw-r--r-- | engines/pegasus/neighborhood/neighborhood.cpp | 2 | ||||
-rw-r--r-- | engines/pegasus/neighborhood/neighborhood.h | 2 |
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(); |