aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2002-12-01 02:11:19 +0000
committerMax Horn2002-12-01 02:11:19 +0000
commitb2049c63dab262345f28a12d37d82d85eaaa2c02 (patch)
treeea50db31d8adbe589d1b56f16c5b8d89ba6a57ba /scumm
parent2450640218b204b9ce26045d697846922668ba7b (diff)
downloadscummvm-rg350-b2049c63dab262345f28a12d37d82d85eaaa2c02.tar.gz
scummvm-rg350-b2049c63dab262345f28a12d37d82d85eaaa2c02.tar.bz2
scummvm-rg350-b2049c63dab262345f28a12d37d82d85eaaa2c02.zip
fixed my workaround for the palette bug in MIVGA
svn-id: r5767
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 6451c3f7e3..9ac04e68cd 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 & GID_MONKEY_VGA) || (_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;