aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game
diff options
context:
space:
mode:
authorPaul Gilbert2016-12-01 20:22:37 -0500
committerPaul Gilbert2016-12-01 20:22:37 -0500
commit475289f35a5b4da9737d92bfd0ef3077fbd2943e (patch)
tree8ea59302ac25fc0497b45ba01d3902ddbdd95913 /engines/titanic/game
parent94e2c674186744db55f548032f889f8e122b9c97 (diff)
downloadscummvm-rg350-475289f35a5b4da9737d92bfd0ef3077fbd2943e.tar.gz
scummvm-rg350-475289f35a5b4da9737d92bfd0ef3077fbd2943e.tar.bz2
scummvm-rg350-475289f35a5b4da9737d92bfd0ef3077fbd2943e.zip
TITANIC: Renamings and clarifications for mail methods
Diffstat (limited to 'engines/titanic/game')
-rw-r--r--engines/titanic/game/chev_code.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/game/chev_code.cpp b/engines/titanic/game/chev_code.cpp
index 9381e1563a..119d82efc0 100644
--- a/engines/titanic/game/chev_code.cpp
+++ b/engines/titanic/game/chev_code.cpp
@@ -94,8 +94,8 @@ bool CChevCode::SetChevFloorBits(CSetChevFloorBits *msg) {
bool CChevCode::SetChevRoomBits(CSetChevRoomBits *msg) {
_chevCode &= ~0xff;
- if (msg->_roomNum > 0 && msg->_roomNum < 128)
- _chevCode |= msg->_roomNum * 2;
+ if (msg->_roomFlags > 0 && msg->_roomFlags < 128)
+ _chevCode |= msg->_roomFlags * 2;
return true;
}