aboutsummaryrefslogtreecommitdiff
path: root/kyra
diff options
context:
space:
mode:
authorTravis Howell2005-11-27 04:16:51 +0000
committerTravis Howell2005-11-27 04:16:51 +0000
commit9e7d76883d9ba0983f7efb15086578ca752b0b2c (patch)
tree305d3e365c38aa79ce7111e84b38781a201b1e6f /kyra
parent38fc6b340be3b7e4811f80fd35696489e060ce1e (diff)
downloadscummvm-rg350-9e7d76883d9ba0983f7efb15086578ca752b0b2c.tar.gz
scummvm-rg350-9e7d76883d9ba0983f7efb15086578ca752b0b2c.tar.bz2
scummvm-rg350-9e7d76883d9ba0983f7efb15086578ca752b0b2c.zip
Add fix for cursors in CD version, from LordHoto.
svn-id: r19713
Diffstat (limited to 'kyra')
-rw-r--r--kyra/screen.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/kyra/screen.cpp b/kyra/screen.cpp
index d0813d5bec..5936670f3b 100644
--- a/kyra/screen.cpp
+++ b/kyra/screen.cpp
@@ -1614,7 +1614,10 @@ void Screen::setMouseCursor(int x, int y, byte *shape) {
int mouseHeight = *(shape+2);
int mouseWidth = (READ_LE_UINT16(shape + 3)) + 2;
-
+
+ if (_vm->features() & GF_TALKIE)
+ shape -= 2;
+
uint8 *cursor = (uint8 *)malloc(mouseHeight * mouseWidth);
fillRect(0, 0, mouseWidth, mouseHeight, 0, 8);
drawShape(8, shape, 0, 0, 0, 0);