SCI/newgui: old cursor uses now hardcoded white, fixes cursor color changing in lsl5

svn-id: r45251
This commit is contained in:
Martin Kiewitz 2009-10-19 19:58:10 +00:00
parent bf4cf09eec
commit 7b8bc76453

View File

@ -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