aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/gondolier/gondolier_chest.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-02-18 19:36:08 -0500
committerPaul Gilbert2017-02-18 19:36:08 -0500
commitb1d2d3cf9717e65c0726f8b34570038a02cca0de (patch)
treef0271c345a87f151a221cf857422b32579ecda65 /engines/titanic/game/gondolier/gondolier_chest.cpp
parent80ba4b5592c2e88a7f9f85067cff8c462677fd49 (diff)
downloadscummvm-rg350-b1d2d3cf9717e65c0726f8b34570038a02cca0de.tar.gz
scummvm-rg350-b1d2d3cf9717e65c0726f8b34570038a02cca0de.tar.bz2
scummvm-rg350-b1d2d3cf9717e65c0726f8b34570038a02cca0de.zip
TITANIC: Further cleanup of the Gondolier sliders
Diffstat (limited to 'engines/titanic/game/gondolier/gondolier_chest.cpp')
-rw-r--r--engines/titanic/game/gondolier/gondolier_chest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/game/gondolier/gondolier_chest.cpp b/engines/titanic/game/gondolier/gondolier_chest.cpp
index 20b2f90a5e..6058b582f7 100644
--- a/engines/titanic/game/gondolier/gondolier_chest.cpp
+++ b/engines/titanic/game/gondolier/gondolier_chest.cpp
@@ -41,13 +41,13 @@ void CGondolierChest::load(SimpleFile *file) {
}
bool CGondolierChest::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
- if (!_v1)
+ if (!_chestOpen)
playMovie(0, 14, MOVIE_NOTIFY_OBJECT);
else if (msg->_mousePos.y < 330)
return false;
else if (!_leftSliderHooked && !_rightSliderHooked) {
playMovie(14, 29, 0);
- _v1 = 0;
+ _chestOpen = false;
}
return true;
@@ -55,7 +55,7 @@ bool CGondolierChest::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
bool CGondolierChest::MovieEndMsg(CMovieEndMsg *msg) {
if (msg->_endFrame == 14)
- _v1 = 1;
+ _chestOpen = true;
return true;
}