aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorTravis Howell2006-11-06 01:32:20 +0000
committerTravis Howell2006-11-06 01:32:20 +0000
commitf2318ed1fd2204e780776a215b50da80d0adfbf1 (patch)
tree7a6682ff8de51236b1521c84aed5a3fc5433e178 /engines/agos
parenta1a5c9b38a6d5cdd4dbed026cc6ea6b17234243c (diff)
downloadscummvm-rg350-f2318ed1fd2204e780776a215b50da80d0adfbf1.tar.gz
scummvm-rg350-f2318ed1fd2204e780776a215b50da80d0adfbf1.tar.bz2
scummvm-rg350-f2318ed1fd2204e780776a215b50da80d0adfbf1.zip
Fix mouse palette in WW
svn-id: r24631
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/gfx.cpp8
1 files changed, 8 insertions, 0 deletions
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) {