aboutsummaryrefslogtreecommitdiff
path: root/engines/tucker/tucker.cpp
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-03-15 00:10:37 +0100
committerAdrian Frühwirth2018-03-15 00:11:11 +0100
commit30ed738a7f206424854d69b05d1f0c2031131881 (patch)
treeb696726fca58c926e186dc81e208fdd9368bc5cf /engines/tucker/tucker.cpp
parentc7755d4c46378fc0717e827a28de7a84649fdea5 (diff)
downloadscummvm-rg350-30ed738a7f206424854d69b05d1f0c2031131881.tar.gz
scummvm-rg350-30ed738a7f206424854d69b05d1f0c2031131881.tar.bz2
scummvm-rg350-30ed738a7f206424854d69b05d1f0c2031131881.zip
TUCKER: Comment out dead code, match disassembly
Setting _mousePosY is only necessary if we actually set the cursor position which we currently don't do. I don't plan on enabling it but for the sake of matching disassembly let's add the required warpMouse() call and disable the whole code block for now.
Diffstat (limited to 'engines/tucker/tucker.cpp')
-rw-r--r--engines/tucker/tucker.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/tucker/tucker.cpp b/engines/tucker/tucker.cpp
index 3df3d433c6..309e0f2bed 100644
--- a/engines/tucker/tucker.cpp
+++ b/engines/tucker/tucker.cpp
@@ -829,9 +829,13 @@ void TuckerEngine::updateMouseState() {
if (_panelType == kPanelTypeEmpty) {
setCursorStyle(kCursorTalk);
}
+#if 0
+ // confine cursor to dialog area
if (_mousePosY < 140) {
_mousePosY = 140;
+ _system->warpMouse(_mousePosX, _mousePosY);
}
+#endif
}
}