aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/moves/enter_sec_class_state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/moves/enter_sec_class_state.cpp')
-rw-r--r--engines/titanic/moves/enter_sec_class_state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/moves/enter_sec_class_state.cpp b/engines/titanic/moves/enter_sec_class_state.cpp
index 2a35621003..853a00d590 100644
--- a/engines/titanic/moves/enter_sec_class_state.cpp
+++ b/engines/titanic/moves/enter_sec_class_state.cpp
@@ -50,7 +50,7 @@ void CEnterSecClassState::load(SimpleFile *file) {
bool CEnterSecClassState::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
if (getPassengerClass() > 2) {
playSound("b#105.wav");
- petDisplayMessage(1, "Passengers of your class are not permitted to enter this area.");
+ petDisplayMessage(1, CLASS_NOT_PERMITTED_IN_AREA);
} else if (!compareRoomNameTo("SecClassLittleLift") || _mode == 2) {
CActMsg actMsg(getFullViewName().deleteRight(3) + ".S");
actMsg.execute("SecClassRoomLeaver");