diff options
author | Paul Gilbert | 2017-01-03 01:45:21 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-01-03 01:45:21 -0500 |
commit | 8d245d39599252f5a1f3b56303e4b8f8d7529fcc (patch) | |
tree | ce5b3aeaaf644e3d800ce7c9300f109acf6ae5f9 /engines/titanic/game/broken_pellerator_froz.cpp | |
parent | 96c783899c9c05f0e32da1668ae990d50f46b7f1 (diff) | |
download | scummvm-rg350-8d245d39599252f5a1f3b56303e4b8f8d7529fcc.tar.gz scummvm-rg350-8d245d39599252f5a1f3b56303e4b8f8d7529fcc.tar.bz2 scummvm-rg350-8d245d39599252f5a1f3b56303e4b8f8d7529fcc.zip |
TITANIC: Fix opening the broken pellerator enabling the hose
Diffstat (limited to 'engines/titanic/game/broken_pellerator_froz.cpp')
-rw-r--r-- | engines/titanic/game/broken_pellerator_froz.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/titanic/game/broken_pellerator_froz.cpp b/engines/titanic/game/broken_pellerator_froz.cpp index 690ab76820..7025b37a0c 100644 --- a/engines/titanic/game/broken_pellerator_froz.cpp +++ b/engines/titanic/game/broken_pellerator_froz.cpp @@ -85,15 +85,15 @@ bool CBrokenPelleratorFroz::ActMsg(CActMsg *msg) { statusMsg._newStatus = 0; statusMsg.execute("FPickUpHose"); } else { - _fieldE0 = 0; + _exitAction = 0; bool closeFlag = msg->_action == "Close"; if (msg->_action == "CloseLeft") { closeFlag = true; - _fieldE0 = 1; + _exitAction = 1; } if (msg->_action == "CloseRight") { closeFlag = true; - _fieldE0 = 2; + _exitAction = 2; } if (closeFlag) { @@ -104,7 +104,7 @@ bool CBrokenPelleratorFroz::ActMsg(CActMsg *msg) { else playMovie(72, 84, MOVIE_NOTIFY_OBJECT); } else { - switch (_fieldE0) { + switch (_exitAction) { case 1: changeView(_string2); break; @@ -115,7 +115,7 @@ bool CBrokenPelleratorFroz::ActMsg(CActMsg *msg) { break; } - _fieldE0 = 0; + _exitAction = 0; } } } @@ -136,12 +136,12 @@ bool CBrokenPelleratorFroz::MovieEndMsg(CMovieEndMsg *msg) { statusMsg.execute("FPickUpHose"); } - if (_fieldE0 == 1) { + if (_exitAction == 1) { changeView(_string2); - _fieldE0 = 0; - } else if (_fieldE0 == 2) { + _exitAction = 0; + } else if (_exitAction == 2) { changeView(_string3); - _fieldE0 = 0; + _exitAction = 0; } return true; |