diff options
author | Paul Gilbert | 2017-01-16 11:50:42 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-01-16 11:50:42 -0500 |
commit | efb43d9621d42e8da40d1db5dda40d889e362d8a (patch) | |
tree | 0e3fd353f90d991c95120e29ab59f82df047bda0 /engines/titanic/pet_control | |
parent | 3e2f084b412f178c884d0b4cfc81fce29beaf007 (diff) | |
download | scummvm-rg350-efb43d9621d42e8da40d1db5dda40d889e362d8a.tar.gz scummvm-rg350-efb43d9621d42e8da40d1db5dda40d889e362d8a.tar.bz2 scummvm-rg350-efb43d9621d42e8da40d1db5dda40d889e362d8a.zip |
TITANIC: Renaming checks for player's first class suite
Diffstat (limited to 'engines/titanic/pet_control')
-rw-r--r-- | engines/titanic/pet_control/pet_control.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h index a63c29d6b3..a60e386525 100644 --- a/engines/titanic/pet_control/pet_control.h +++ b/engines/titanic/pet_control/pet_control.h @@ -561,8 +561,11 @@ public: _rooms.setElevatorBroken(flag); } - bool isRoom59706() const { - return CRoomFlags(getRoomFlags()).is59706(); + /** + * Returns true if the player is in their 1st class stateroom + */ + bool isFirstClassSuite() const { + return CRoomFlags(getRoomFlags()).isFirstClassSuite(); } /** |