From f2318ed1fd2204e780776a215b50da80d0adfbf1 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 6 Nov 2006 01:32:20 +0000 Subject: Fix mouse palette in WW svn-id: r24631 --- engines/agos/gfx.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'engines/agos') diff --git a/engines/agos/gfx.cpp b/engines/agos/gfx.cpp index c52bb68e3b..198627412d 100644 --- a/engines/agos/gfx.cpp +++ b/engines/agos/gfx.cpp @@ -992,6 +992,14 @@ void AGOSEngine::setWindowImageEx(uint16 mode, uint16 vga_res) { if (!_initMouse) { _initMouse = 1; vc33_setMouseOn(); + + // Set mouse palette + if (getGameType() == GType_WW) { + _displayPalette[65 * 4 + 0] = 48 * 4; + _displayPalette[65 * 4 + 1] = 48 * 4; + _displayPalette[65 * 4 + 2] = 40 * 4; + _displayPalette[65 * 4 + 3] = 0; + } } if (getGameType() == GType_ELVIRA1) { -- cgit v1.2.3