diff options
author | Paul Gilbert | 2017-10-10 19:19:46 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-10-10 19:19:46 -0400 |
commit | 3fd2cf29b14f92015052fc85aee9299de57360e7 (patch) | |
tree | bba29105b1e1b4ff82c447c282b30a8c57608c8d /engines/titanic/pet_control/pet_control.h | |
parent | 1f5908c9bd7f4d19ed71fae1ed31fb2b294bf8ed (diff) | |
download | scummvm-rg350-3fd2cf29b14f92015052fc85aee9299de57360e7.tar.gz scummvm-rg350-3fd2cf29b14f92015052fc85aee9299de57360e7.tar.bz2 scummvm-rg350-3fd2cf29b14f92015052fc85aee9299de57360e7.zip |
TITANIC: Only allow moving to SGT TV in assigned room
Diffstat (limited to 'engines/titanic/pet_control/pet_control.h')
-rw-r--r-- | engines/titanic/pet_control/pet_control.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h index 6408c8a29b..a95b896159 100644 --- a/engines/titanic/pet_control/pet_control.h +++ b/engines/titanic/pet_control/pet_control.h @@ -438,10 +438,10 @@ public: } /** - * Returns true if the Rooms list has a room with the given flags + * Returns true if the player is in the current or previously assigned rooms */ - bool hasRoomFlags() const { - return _rooms.hasRoomFlags(getRoomFlags()); + bool isInAssignedRoom() const { + return _rooms.isAssignedRoom(getRoomFlags()); } uint getRoomFlags() const { |