diff options
Diffstat (limited to 'engines/titanic/moves')
-rw-r--r-- | engines/titanic/moves/restricted_move.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/moves/restricted_move.cpp b/engines/titanic/moves/restricted_move.cpp index b1040a3554..aed204abdc 100644 --- a/engines/titanic/moves/restricted_move.cpp +++ b/engines/titanic/moves/restricted_move.cpp @@ -51,7 +51,7 @@ bool CRestrictedMove::MouseButtonDownMsg(CMouseButtonDownMsg *msg) { if (classNum <= _classNum) { // Okay to change to the given destination changeView(_destination); - } else if (classNum != 4) { + } else if (classNum != UNCHECKED) { petDisplayMessage(1, CLASS_NOT_ALLOWED_AT_DEST); } else if (compareRoomNameTo("EmbLobby")) { playSound("a#17.wav"); @@ -68,7 +68,7 @@ bool CRestrictedMove::EnterViewMsg(CEnterViewMsg *msg) { int classNum = getPassengerClass(); bool flag = classNum > _classNum; - if (classNum == 4) { + if (classNum == UNCHECKED) { if (compareRoomNameTo("EmbLobby")) flag = false; else if (compareViewNameTo("Titania.Node 1.S")) |