[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.222,2.223
Travis Howell
kirben at users.sourceforge.net
Sun Oct 12 05:04:01 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv27728/scumm
Modified Files:
gfx.cpp
Log Message:
Missed two spots
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.222
retrieving revision 2.223
diff -u -d -r2.222 -r2.223
--- gfx.cpp 10 Oct 2003 14:14:36 -0000 2.222
+++ gfx.cpp 12 Oct 2003 12:03:17 -0000 2.223
@@ -1795,7 +1795,7 @@
if (!--height)
return;
}
- *dst++ = color + _palette_mod;
+ *dst++ = (_vm->_features & GF_SMALL_HEADER) ? _vm->_roomPalette[color + _palette_mod] : color + _palette_mod;
} while (--reps);
bits >>= 8;
bits |= (*src++) << (cl - 8);
@@ -1846,7 +1846,7 @@
return;
}
if (color != _transparentColor)
- *dst = color + _palette_mod;
+ *dst = (_vm->_features & GF_SMALL_HEADER) ? _vm->_roomPalette[color + _palette_mod] : color + _palette_mod;
dst++;
} while (--reps);
bits >>= 8;
More information about the Scummvm-git-logs
mailing list