From 18325259b82ef5510ceab8e39d76038d5e22f826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B6rn=20Andersson?= Date: Sat, 9 Sep 2006 02:02:45 +0000 Subject: [PATCH] Fixed bug #1554904 ("KYRA1: No mouse cursor in latest SVN build"). GI_KYRA1 is not a bit flag... svn-id: r23834 --- engines/kyra/screen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp index de0a317aec2..d5cfb0265b7 100644 --- a/engines/kyra/screen.cpp +++ b/engines/kyra/screen.cpp @@ -1905,10 +1905,10 @@ void Screen::setMouseCursor(int x, int y, byte *shape) { if (_vm->features() & GF_TALKIE) shape += 2; - int mouseHeight = *(shape+2); + int mouseHeight = *(shape + 2); int mouseWidth = (READ_LE_UINT16(shape + 3)) + 2; - if (_vm->game() & GI_KYRA1 && _vm->features() & GF_TALKIE) + if ((_vm->game() == GI_KYRA1) && (_vm->features() & GF_TALKIE)) shape -= 2; uint8 *cursor = (uint8 *)malloc(mouseHeight * mouseWidth);