From 2db1dc882b4024fff417644035ed3eeff6f08e1b Mon Sep 17 00:00:00 2001 From: Oystein Eftevaag Date: Sat, 9 Sep 2006 16:10:11 +0000 Subject: Ignore mouselock count when switching the cursor graphics, fixing a bug salty-horse reported on irc. svn-id: r23849 --- engines/kyra/screen.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'engines') diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp index d5cfb0265b..5d74e0e97b 100644 --- a/engines/kyra/screen.cpp +++ b/engines/kyra/screen.cpp @@ -1915,12 +1915,10 @@ void Screen::setMouseCursor(int x, int y, byte *shape) { fillRect(0, 0, mouseWidth, mouseHeight, 0, 8); drawShape(8, shape, 0, 0, 0, 0); - if (!_mouseLockCount) - CursorMan.showMouse(false); + CursorMan.showMouse(false); copyRegionToBuffer(8, 0, 0, mouseWidth, mouseHeight, cursor); CursorMan.replaceCursor(cursor, mouseWidth, mouseHeight, x, y, 0); - if (!_mouseLockCount) - CursorMan.showMouse(true); + CursorMan.showMouse(true); free(cursor); // makes sure that the cursor is drawn -- cgit v1.2.3