aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/screen_lok.h
diff options
context:
space:
mode:
authorJohannes Schickel2009-06-29 18:49:17 +0000
committerJohannes Schickel2009-06-29 18:49:17 +0000
commitcc0b30370ed19bdcfc4018f8892476e1f7ed45fc (patch)
tree6ef1eb75f5317ab829a51eab0df28769ad87cc37 /engines/kyra/screen_lok.h
parent67f69bcaf2a0e425eb0799683fc631213775aabb (diff)
downloadscummvm-rg350-cc0b30370ed19bdcfc4018f8892476e1f7ed45fc.tar.gz
scummvm-rg350-cc0b30370ed19bdcfc4018f8892476e1f7ed45fc.tar.bz2
scummvm-rg350-cc0b30370ed19bdcfc4018f8892476e1f7ed45fc.zip
Fix kyra2/kyra3 mouse cursor related regressions, introduced with r41959.
svn-id: r41960
Diffstat (limited to 'engines/kyra/screen_lok.h')
-rw-r--r--engines/kyra/screen_lok.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/screen_lok.h b/engines/kyra/screen_lok.h
index f845261f29..4eb22df374 100644
--- a/engines/kyra/screen_lok.h
+++ b/engines/kyra/screen_lok.h
@@ -91,7 +91,7 @@ private:
void convertTo16Colors(uint8 *page, int w, int h, int pitch, int keyColor = -1);
void postProcessCursor(uint8 *data, int width, int height, int pitch) {
- convertTo16Colors(data, width, height, pitch, 255);
+ convertTo16Colors(data, width, height, pitch, _cursorColorKey);
}
void mergeOverlay(int x, int y, int w, int h);