diff options
author | Paul Gilbert | 2016-11-12 22:47:43 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-11-12 22:47:43 -0500 |
commit | 931e3f312a626cc916f1717a59c05e9d1ac5b972 (patch) | |
tree | bcfda5660dfd3db1d72c962ee7e6a52f4c1042c8 /engines/titanic/game/sgt/chest_of_drawers.cpp | |
parent | 68132bd678f1191757ef817b02d3063b072ca496 (diff) | |
download | scummvm-rg350-931e3f312a626cc916f1717a59c05e9d1ac5b972.tar.gz scummvm-rg350-931e3f312a626cc916f1717a59c05e9d1ac5b972.tar.bz2 scummvm-rg350-931e3f312a626cc916f1717a59c05e9d1ac5b972.zip |
TITANIC: Lots more SGT field renamings
Diffstat (limited to 'engines/titanic/game/sgt/chest_of_drawers.cpp')
-rw-r--r-- | engines/titanic/game/sgt/chest_of_drawers.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/titanic/game/sgt/chest_of_drawers.cpp b/engines/titanic/game/sgt/chest_of_drawers.cpp index 153a358403..4f8b332c92 100644 --- a/engines/titanic/game/sgt/chest_of_drawers.cpp +++ b/engines/titanic/game/sgt/chest_of_drawers.cpp @@ -41,9 +41,9 @@ void CChestOfDrawers::load(SimpleFile *file) { } bool CChestOfDrawers::TurnOn(CTurnOn *msg) { - if (_statics->_v6 == "Closed" && _statics->_v5 == "Open") { + if (_statics->_chestOfDrawers == "Closed" && _statics->_desk == "Open") { _isClosed = false; - _statics->_v6 = "Open"; + _statics->_chestOfDrawers = "Open"; _startFrame = 1; _endFrame = 14; playSound("b#11.wav"); @@ -53,10 +53,10 @@ bool CChestOfDrawers::TurnOn(CTurnOn *msg) { } bool CChestOfDrawers::TurnOff(CTurnOff *msg) { - if (_statics->_v6 == "Open" && _statics->_v5 == "Closed") { + if (_statics->_chestOfDrawers == "Open" && _statics->_desk == "Closed") { CVisibleMsg visibleMsg; visibleMsg.execute("Drawer"); - _statics->_v6 = "Closed"; + _statics->_chestOfDrawers = "Closed"; _isClosed = true; _startFrame = 14; @@ -69,7 +69,7 @@ bool CChestOfDrawers::TurnOff(CTurnOff *msg) { } bool CChestOfDrawers::MovieEndMsg(CMovieEndMsg *msg) { - if (_statics->_v6 == "Open") { + if (_statics->_chestOfDrawers == "Open") { CVisibleMsg visibleMsg; visibleMsg.execute("Drawer"); } |