aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/moves/enter_sec_class_state.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-12-08 20:03:28 -0500
committerPaul Gilbert2016-12-08 20:03:28 -0500
commita90a4c8bc2ff350d69dc43f99c880d493efeb211 (patch)
tree65906c9d5bd76c6def8e650c23b1f164e0299d81 /engines/titanic/moves/enter_sec_class_state.cpp
parent6425913a9c840027a80adf05647fbba686584e95 (diff)
downloadscummvm-rg350-a90a4c8bc2ff350d69dc43f99c880d493efeb211.tar.gz
scummvm-rg350-a90a4c8bc2ff350d69dc43f99c880d493efeb211.tar.bz2
scummvm-rg350-a90a4c8bc2ff350d69dc43f99c880d493efeb211.zip
TITANIC: Fix leaving 2nd class suites
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 853a00d590..af2bc4ac00 100644
--- a/engines/titanic/moves/enter_sec_class_state.cpp
+++ b/engines/titanic/moves/enter_sec_class_state.cpp
@@ -52,7 +52,7 @@ bool CEnterSecClassState::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
playSound("b#105.wav");
petDisplayMessage(1, CLASS_NOT_PERMITTED_IN_AREA);
} else if (!compareRoomNameTo("SecClassLittleLift") || _mode == 2) {
- CActMsg actMsg(getFullViewName().deleteRight(3) + ".S");
+ CActMsg actMsg(getFullViewName().deleteRight(2) + ".S");
actMsg.execute("SecClassRoomLeaver");
changeView("secClassState.Node 01.N");
}