From 8cc125c2f7658efed056b78fcb600f1ebb316bdd Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 16 Nov 2016 20:16:07 -0500 Subject: TITANIC: Fix opening & closing washstand --- engines/titanic/game/sgt/washstand.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines') diff --git a/engines/titanic/game/sgt/washstand.cpp b/engines/titanic/game/sgt/washstand.cpp index 16c78cdb90..5be722bec4 100644 --- a/engines/titanic/game/sgt/washstand.cpp +++ b/engines/titanic/game/sgt/washstand.cpp @@ -41,7 +41,7 @@ void CWashstand::load(SimpleFile *file) { } bool CWashstand::TurnOn(CTurnOn *msg) { - if (_statics->_washstand == "Closed" && _statics->_bedfoot == "NotOnWashstand") { + if (_statics->_washstand == "Closed" && _statics->_bedfoot != "NotOnWashstand") { setVisible(true); _statics->_washstand = "Open"; _isClosed = false; @@ -55,8 +55,8 @@ bool CWashstand::TurnOn(CTurnOn *msg) { } bool CWashstand::TurnOff(CTurnOff *msg) { - if (_statics->_washstand == "Open" && _statics->_desk == "Closed" - && _statics->_toilet == "Closed" && _statics->_bedfoot == "Open") { + if (_statics->_washstand == "Open" && _statics->_basin == "Closed" + && _statics->_toilet == "Closed" && _statics->_bedfoot != "Open") { _statics->_washstand = "Closed"; _isClosed = true; _startFrame = 14; -- cgit v1.2.3