[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.226,2.227

Travis Howell kirben at users.sourceforge.net
Mon Oct 13 15:51:46 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv29902/scumm

Modified Files:
	gfx.cpp 
Log Message:

This should only apply to 32 color Amiga versions.


Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.226
retrieving revision 2.227
diff -u -d -r2.226 -r2.227
--- gfx.cpp	13 Oct 2003 12:56:53 -0000	2.226
+++ gfx.cpp	13 Oct 2003 22:48:45 -0000	2.227
@@ -206,7 +206,7 @@
 	memset(this, 0, sizeof(*this));
 	_vm = vm;
 	_roomPalette = vm->_roomPalette;
-	if (vm->_features & GF_AMIGA)
+	if ((vm->_features & GF_AMIGA) && (vm->_version >= 4))
 		_roomPalette += 16;
 }
 





More information about the Scummvm-git-logs mailing list