From 30ed738a7f206424854d69b05d1f0c2031131881 Mon Sep 17 00:00:00 2001 From: Adrian Frühwirth Date: Thu, 15 Mar 2018 00:10:37 +0100 Subject: 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. --- engines/tucker/tucker.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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 } } -- cgit v1.2.3