From fbb51fcd889ac5483d5aad5c0f62980c00bf65da Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 13 Feb 2012 04:03:05 +0200 Subject: SCI: Fix bug #3487092: "SCI: LB1: Magnifying glass cursor is grey" --- engines/sci/graphics/cursor.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/sci/graphics') diff --git a/engines/sci/graphics/cursor.cpp b/engines/sci/graphics/cursor.cpp index 50da48aaf3..a939b042a7 100644 --- a/engines/sci/graphics/cursor.cpp +++ b/engines/sci/graphics/cursor.cpp @@ -137,6 +137,11 @@ void GfxCursor::kernelSetShape(GuiResourceId resourceId) { colorMapping[1] = _screen->getColorWhite(); // White is also hardcoded colorMapping[2] = SCI_CURSOR_SCI0_TRANSPARENCYCOLOR; colorMapping[3] = _palette->matchColor(170, 170, 170); // Grey + // Special case for the magnifier cursor in LB1 (bug #3487092). + // No other SCI0 game has a cursor resource of 1, so this is handled + // specifically for LB1. + if (resourceId == 1) + colorMapping[3] = _screen->getColorWhite(); // Seek to actual data resourceData += 4; -- cgit v1.2.3