diff options
author | Paul Gilbert | 2016-08-21 23:07:20 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-08-21 23:07:20 -0400 |
commit | 3f32c4a4b9ef1ed6d151da1dbf3c299cc6f533b1 (patch) | |
tree | 902e5f7388c7a5e44e5d6a2bdf98f34664e0848d /engines/titanic/game/sgt | |
parent | e7d0047b5334bef6688a5f81c200630a58ff89c4 (diff) | |
download | scummvm-rg350-3f32c4a4b9ef1ed6d151da1dbf3c299cc6f533b1.tar.gz scummvm-rg350-3f32c4a4b9ef1ed6d151da1dbf3c299cc6f533b1.tar.bz2 scummvm-rg350-3f32c4a4b9ef1ed6d151da1dbf3c299cc6f533b1.zip |
TITANIC: Implemented CGondolierSlider class
Diffstat (limited to 'engines/titanic/game/sgt')
-rw-r--r-- | engines/titanic/game/sgt/desk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/game/sgt/desk.cpp b/engines/titanic/game/sgt/desk.cpp index 51be14adb9..09ff66f134 100644 --- a/engines/titanic/game/sgt/desk.cpp +++ b/engines/titanic/game/sgt/desk.cpp @@ -41,8 +41,8 @@ void CDesk::load(SimpleFile *file) { } bool CDesk::TurnOn(CTurnOn *msg) { - if (_statics->_v5 == "Closed" && _statics->_v1 == "RestingG" - && _statics->_v1 == "OpenWrong") { + if (_statics->_v5 == "Closed" && _statics->_v1 != "RestingG" + && _statics->_v1 != "OpenWrong") { _statics->_v5 = "Open"; _fieldE0 = false; _startFrame = 1; |