aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-19 19:58:36 +0000
committerMartin Kiewitz2010-01-19 19:58:36 +0000
commitdbe665908e8536046593a6dfbb7087f53119f1dd (patch)
tree708c8c2d9cbe5a35b31babf9a396f27715cd337e
parentf2ddf8cdd872c5b474732bd8182d8cc1f81678ed (diff)
downloadscummvm-rg350-dbe665908e8536046593a6dfbb7087f53119f1dd.tar.gz
scummvm-rg350-dbe665908e8536046593a6dfbb7087f53119f1dd.tar.bz2
scummvm-rg350-dbe665908e8536046593a6dfbb7087f53119f1dd.zip
SCI: dont directly set mouse cursor to visible state but call show() instead thus updating _isVisible so cursor wont get lost in sci0 games
svn-id: r47391
-rw-r--r--engines/sci/graphics/cursor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/cursor.cpp b/engines/sci/graphics/cursor.cpp
index fda017341e..785c235e42 100644
--- a/engines/sci/graphics/cursor.cpp
+++ b/engines/sci/graphics/cursor.cpp
@@ -128,7 +128,7 @@ void Cursor::setShape(GuiResourceId resourceId) {
}
CursorMan.replaceCursor(rawBitmap, SCI_CURSOR_SCI0_HEIGHTWIDTH, SCI_CURSOR_SCI0_HEIGHTWIDTH, hotspot.x, hotspot.y, SCI_CURSOR_SCI0_TRANSPARENCYCOLOR);
- CursorMan.showMouse(true);
+ show();
delete[] rawBitmap;
}