diff options
author | Adrian Frühwirth | 2018-03-15 00:10:37 +0100 |
---|---|---|
committer | Adrian Frühwirth | 2018-03-15 00:11:11 +0100 |
commit | 30ed738a7f206424854d69b05d1f0c2031131881 (patch) | |
tree | b696726fca58c926e186dc81e208fdd9368bc5cf | |
parent | c7755d4c46378fc0717e827a28de7a84649fdea5 (diff) | |
download | scummvm-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.
-rw-r--r-- | engines/tucker/tucker.cpp | 4 |
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 } } |