mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
Fixed bug #1554904 ("KYRA1: No mouse cursor in latest SVN build"). GI_KYRA1 is
not a bit flag... svn-id: r23834
This commit is contained in:
parent
fb27c58977
commit
18325259b8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user