diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/game/sgt/chest_of_drawers.cpp | 2 | ||||
-rw-r--r-- | engines/titanic/game/sgt/desk.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/game/sgt/chest_of_drawers.cpp b/engines/titanic/game/sgt/chest_of_drawers.cpp index 4f8b332c92..59479c124c 100644 --- a/engines/titanic/game/sgt/chest_of_drawers.cpp +++ b/engines/titanic/game/sgt/chest_of_drawers.cpp @@ -53,7 +53,7 @@ bool CChestOfDrawers::TurnOn(CTurnOn *msg) { } bool CChestOfDrawers::TurnOff(CTurnOff *msg) { - if (_statics->_chestOfDrawers == "Open" && _statics->_desk == "Closed") { + if (_statics->_chestOfDrawers == "Open" && _statics->_drawer == "Closed") { CVisibleMsg visibleMsg; visibleMsg.execute("Drawer"); _statics->_chestOfDrawers = "Closed"; diff --git a/engines/titanic/game/sgt/desk.cpp b/engines/titanic/game/sgt/desk.cpp index 7f4c602d66..a31efe9e5d 100644 --- a/engines/titanic/game/sgt/desk.cpp +++ b/engines/titanic/game/sgt/desk.cpp @@ -56,7 +56,7 @@ bool CDesk::TurnOn(CTurnOn *msg) { bool CDesk::TurnOff(CTurnOff *msg) { if (_statics->_desk == "Open" && _statics->_chestOfDrawers == "Closed" - && _statics->_bedhead == "Open") { + && _statics->_bedhead != "Open") { CVisibleMsg visibleMsg(false); visibleMsg.execute("ChestOfDrawers"); |