From 3fd2cf29b14f92015052fc85aee9299de57360e7 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 10 Oct 2017 19:19:46 -0400 Subject: TITANIC: Only allow moving to SGT TV in assigned room --- engines/titanic/pet_control/pet_control.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/titanic/pet_control/pet_control.h') 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 { -- cgit v1.2.3