aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2002-12-04 14:32:40 +0000
committerMax Horn2002-12-04 14:32:40 +0000
commitbb2d559d13be7f985b60495eded3ff6f5bb5c405 (patch)
tree60f6a3569282f9c28ff71df00dcd5e765e5c1449 /scumm
parent89335008e9076bdfd0565514a7b22ecf4738b605 (diff)
downloadscummvm-rg350-bb2d559d13be7f985b60495eded3ff6f5bb5c405.tar.gz
scummvm-rg350-bb2d559d13be7f985b60495eded3ff6f5bb5c405.tar.bz2
scummvm-rg350-bb2d559d13be7f985b60495eded3ff6f5bb5c405.zip
readded MonkeyVGA fix
svn-id: r5832
Diffstat (limited to 'scumm')
-rw-r--r--scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index b811bc1371..ae0500928e 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -452,7 +452,7 @@ void Scumm::setPaletteFromPtr(byte *ptr)
// check for that. And somebody before me added a check for V7 games, turning this
// off there, too... I wonder if it hurts other games, too? What exactly is broken
// if we remove this patch?
- if ((_features & GF_AFTER_V7) || (i <= 15 || r < 252 || g < 252 || b < 252)) {
+ if ((_gameId == GID_MONKEY_VGA) || (_features & GF_AFTER_V7) || (i <= 15 || r < 252 || g < 252 || b < 252)) {
*dest++ = r;
*dest++ = g;
*dest++ = b;