From 7b8bc76453336eab50c7bcecc98e70481d86bc02 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Mon, 19 Oct 2009 19:58:10 +0000 Subject: SCI/newgui: old cursor uses now hardcoded white, fixes cursor color changing in lsl5 svn-id: r45251 --- engines/sci/gui/gui_cursor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci') diff --git a/engines/sci/gui/gui_cursor.cpp b/engines/sci/gui/gui_cursor.cpp index 128190aef9..76f1eb1b02 100644 --- a/engines/sci/gui/gui_cursor.cpp +++ b/engines/sci/gui/gui_cursor.cpp @@ -88,7 +88,7 @@ void SciGuiCursor::setShape(GuiResourceId resourceId) { // Now find out what colors we are supposed to use colorMapping[0] = 0; // Black is hardcoded - colorMapping[1] = _palette->matchColor(&_palette->_sysPalette, 255, 255, 255); // White + colorMapping[1] = _resMan->isVGA() ? 255 : 15; // White is also hardcoded colorMapping[2] = SCI_CURSOR_SCI0_TRANSPARENCYCOLOR; colorMapping[3] = _palette->matchColor(&_palette->_sysPalette, 170, 170, 170); // Grey -- cgit v1.2.3