aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/titanic/game/chev_code.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/game/chev_code.cpp b/engines/titanic/game/chev_code.cpp
index 119d82efc0..6c27b1fd83 100644
--- a/engines/titanic/game/chev_code.cpp
+++ b/engines/titanic/game/chev_code.cpp
@@ -132,7 +132,7 @@ bool CChevCode::GetChevFloorNum(CGetChevFloorNum *msg) {
break;
}
- msg->_floorNum = (val1 >= 10) ? 0 : val1 * 10;
+ msg->_floorNum = (val1 >= 10) ? 0 : val2 * 10 + val1;
return true;
}