aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-09-09 02:02:45 +0000
committerTorbjörn Andersson2006-09-09 02:02:45 +0000
commit18325259b82ef5510ceab8e39d76038d5e22f826 (patch)
tree86044655ae0f517f1699ad6ecc1e7e963e16338b /engines/kyra
parentfb27c5897740da1da65d7c5e0bf67dee0bab82aa (diff)
downloadscummvm-rg350-18325259b82ef5510ceab8e39d76038d5e22f826.tar.gz
scummvm-rg350-18325259b82ef5510ceab8e39d76038d5e22f826.tar.bz2
scummvm-rg350-18325259b82ef5510ceab8e39d76038d5e22f826.zip
Fixed bug #1554904 ("KYRA1: No mouse cursor in latest SVN build"). GI_KYRA1 is
not a bit flag... svn-id: r23834
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/screen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp
index de0a317aec..d5cfb0265b 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);