aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Snover2017-05-06 16:27:43 -0500
committerColin Snover2017-05-06 19:00:04 -0500
commit604ac1a375ca76765133e2b56329763ac5c9874c (patch)
tree3a2db382be4a9c173e1dbf1bcfb1566f9ecdaf84
parent85105294f2534ca286cfcaa8f1cbbd68fba765d1 (diff)
downloadscummvm-rg350-604ac1a375ca76765133e2b56329763ac5c9874c.tar.gz
scummvm-rg350-604ac1a375ca76765133e2b56329763ac5c9874c.tar.bz2
scummvm-rg350-604ac1a375ca76765133e2b56329763ac5c9874c.zip
SCI32: Update cursor even when position appears unchanged
This may be masking another bug, but at least what happens in Phant1 is that the mouse does not get redrawn after being moved programmatically to the fast-forward button when deviceMoved returns early.
-rw-r--r--engines/sci/graphics/cursor32.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/sci/graphics/cursor32.cpp b/engines/sci/graphics/cursor32.cpp
index 624714619e..fc853bbfd6 100644
--- a/engines/sci/graphics/cursor32.cpp
+++ b/engines/sci/graphics/cursor32.cpp
@@ -380,10 +380,6 @@ void GfxCursor32::deviceMoved(Common::Point &position) {
position.y = _restrictedArea.bottom - 1;
}
- if (_position == position) {
- return;
- }
-
_position = position;
g_system->warpMouse(position.x, position.y);