From ce4d9bc06651418f3d254c3d5d2b1f4711b255ee Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Fri, 27 Feb 2009 05:58:08 +0000 Subject: Changing the visibility of the mouse means it has to be redrawn. At least, this fixes a regression in Broken Sword 1 when using one inventory object on another (if the cursor is partly beneath the inventory bar) for me. svn-id: r38926 --- backends/platform/sdl/graphics.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp index 1419ea171c..b4bf48d808 100644 --- a/backends/platform/sdl/graphics.cpp +++ b/backends/platform/sdl/graphics.cpp @@ -1275,6 +1275,7 @@ bool OSystem_SDL::showMouse(bool visible) { bool last = _mouseVisible; _mouseVisible = visible; + _mouseNeedsRedraw = true; return last; } -- cgit v1.2.3