aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/screen_lol.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/kyra/screen_lol.cpp b/engines/kyra/screen_lol.cpp
index 5453ee0e75..b9bf9961c5 100644
--- a/engines/kyra/screen_lol.cpp
+++ b/engines/kyra/screen_lol.cpp
@@ -995,6 +995,9 @@ void Screen_LoL::convertPC98Gfx(uint8 *data, int w, int h, int pitch) {
}
void Screen_LoL::postProcessCursor(uint8 *data, int w, int h, int pitch) {
+ if (!_use16ColorMode)
+ return;
+
while (h--) {
for (int i = 0; i < w; ++i) {
if (*data != _cursorColorKey)