diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/cursor32.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/sci/graphics/cursor32.cpp b/engines/sci/graphics/cursor32.cpp index c626487970..feb62ee011 100644 --- a/engines/sci/graphics/cursor32.cpp +++ b/engines/sci/graphics/cursor32.cpp @@ -394,13 +394,14 @@ void GfxCursor32::deviceMoved(Common::Point &position) { restricted = true; } - _position = position; - if (restricted) { g_system->warpMouse(position.x, position.y); } - move(); + if (_position != position) { + _position = position; + move(); + } } void GfxCursor32::move() { |