[Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.236.2.2,1.236.2.3

kirben kirben at users.sourceforge.net
Thu Oct 20 22:16:26 CEST 2005


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30216/scumm

Modified Files:
      Tag: branch-0-8-0
	akos.cpp 
Log Message:

Add safety check for XMAP support, from original HE games.


Index: akos.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/akos.cpp,v
retrieving revision 1.236.2.2
retrieving revision 1.236.2.3
diff -u -d -r1.236.2.2 -r1.236.2.3
--- akos.cpp	21 Oct 2005 02:30:49 -0000	1.236.2.2
+++ akos.cpp	21 Oct 2005 05:16:01 -0000	1.236.2.3
@@ -490,7 +490,7 @@
 			if (decflag == 0)
 				continue;
 
-			if (_vm->_heversion >= 95) {
+			if ((shadowMask & 0x8000) && _shadow_table) {
 				_shadow_mode = (shadowMask) ? 3: 0;
 			}
 





More information about the Scummvm-git-logs mailing list