[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.445,2.446
Max Horn
fingolfin at users.sourceforge.net
Wed May 11 07:47:14 CEST 2005
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv833
Modified Files:
gfx.cpp
Log Message:
Unify check in initBGBuffers and in getZPlanes
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.445
retrieving revision 2.446
diff -u -d -r2.445 -r2.446
--- gfx.cpp 11 May 2005 13:02:36 -0000 2.445
+++ gfx.cpp 11 May 2005 14:42:59 -0000 2.446
@@ -707,7 +707,7 @@
ptr = findResourceData(MKID('SMAP'), room);
gdi._numZBuffer = 0;
- if (_gameId == GID_MONKEY_EGA || _gameId == GID_PASS)
+ if (_features & GF_16COLOR)
off = READ_LE_UINT16(ptr);
else
off = READ_LE_UINT32(ptr);
More information about the Scummvm-git-logs
mailing list