aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/room_flags.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/room_flags.h')
-rw-r--r--engines/titanic/room_flags.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/titanic/room_flags.h b/engines/titanic/room_flags.h
index e2fb91015a..79b673b7da 100644
--- a/engines/titanic/room_flags.h
+++ b/engines/titanic/room_flags.h
@@ -225,7 +225,12 @@ public:
bool not5() const { return getConditionally() != 5; }
- bool is59706() const { return _data == 0x59706; }
+ /**
+ * Returns true if the player is in their 1st class stateroom
+ */
+ bool isFirstClassSuite() const {
+ return _data == 0x59706;
+ }
};
} // End of namespace Titanic