aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2009-06-23 14:06:57 +0000
committerTravis Howell2009-06-23 14:06:57 +0000
commita44859e01bead5a30d8446a5bc75857d000199d9 (patch)
tree005a687ae484382f3f8e6032991076615f5ee89a /engines
parent7c622423157e29b7206ba0c39a7756443ed1e70d (diff)
downloadscummvm-rg350-a44859e01bead5a30d8446a5bc75857d000199d9.tar.gz
scummvm-rg350-a44859e01bead5a30d8446a5bc75857d000199d9.tar.bz2
scummvm-rg350-a44859e01bead5a30d8446a5bc75857d000199d9.zip
Fix error in Backyard Soccer 2004, when using Season Play.
svn-id: r41808
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/he/script_v100he.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/scumm/he/script_v100he.cpp b/engines/scumm/he/script_v100he.cpp
index 60db9adefb..58a858ede4 100644
--- a/engines/scumm/he/script_v100he.cpp
+++ b/engines/scumm/he/script_v100he.cpp
@@ -1574,7 +1574,10 @@ void ScummEngine_v100he::o100_roomOps() {
case 130:
a = pop();
b = pop();
- copyPalColor(a, b);
+ if (_game.features & GF_16BIT_COLOR)
+ copyHEPaletteColor(1, a, b);
+ else
+ copyPalColor(a, b);
break;
case 131: // SO_ROOM_FADE