diff options
author | James Brown | 2002-11-09 10:02:59 +0000 |
---|---|---|
committer | James Brown | 2002-11-09 10:02:59 +0000 |
commit | 7eb9753a9ccc950b7ad64c2ac1e9ef0994379b31 (patch) | |
tree | c31ef23e48a54015358780bfadb8c8776719d92f /scumm/gfx.cpp | |
parent | 5923a9f5e3a5f410dc0230b11c53f2e08d1b6351 (diff) | |
download | scummvm-rg350-7eb9753a9ccc950b7ad64c2ac1e9ef0994379b31.tar.gz scummvm-rg350-7eb9753a9ccc950b7ad64c2ac1e9ef0994379b31.tar.bz2 scummvm-rg350-7eb9753a9ccc950b7ad64c2ac1e9ef0994379b31.zip |
Evil Geniuses arn't, otherwise the world would be far more intrested.
svn-id: r5472
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r-- | scumm/gfx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index e263d1dfe3..f8cce30c76 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -441,7 +441,7 @@ void Scumm::initBGBuffers(int height) void Scumm::setPaletteFromPtr(byte *ptr) { int i; - byte *dest; + byte *dest, r, g, b; int numcolor; if (_features & GF_SMALL_HEADER) { @@ -464,7 +464,7 @@ void Scumm::setPaletteFromPtr(byte *ptr) b = *ptr++; // This comparison might look wierd, but it's what the disassembly (DOTT) says! - if ((_features & GF_AFTER_V7) || (<= 15 || r < 252 || g < 252 || b < 252)) { + if ((_features & GF_AFTER_V7) || (i <= 15 || r < 252 || g < 252 || b < 252)) { *dest++ = r; *dest++ = g; *dest++ = b; |