[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,1.57,1.58
James Brown
ender at users.sourceforge.net
Sat Nov 9 02:04:01 CET 2002
Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv15311a/scumm
Modified Files:
gfx.cpp
Log Message:
Evil Geniuses arn't, otherwise the world would be far more intrested.
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- gfx.cpp 9 Nov 2002 09:59:25 -0000 1.57
+++ gfx.cpp 9 Nov 2002 10:02:59 -0000 1.58
@@ -441,7 +441,7 @@
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 @@
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;
More information about the Scummvm-git-logs
mailing list