[Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.250,1.251

kirben kirben at users.sourceforge.net
Fri Feb 3 18:17:17 CET 2006


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

Modified Files:
	akos.cpp 
Log Message:

Correct the position of shadow check in HE90+ games.
Fixes glitch when recycling bottles in puttrace.


Index: akos.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/akos.cpp,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -d -r1.250 -r1.251
--- akos.cpp	3 Feb 2006 05:47:40 -0000	1.250
+++ akos.cpp	4 Feb 2006 02:16:18 -0000	1.251
@@ -490,6 +490,10 @@
 					} else {
 						decflag = (a->_heCondMask & cond) ? 1 : 0;
 					}
+
+					if (_vm->_heversion >= 90) {
+						_shadow_mode = ((shadowMask & 0x8000) && xmap) ? 3 : 0;
+					}
 				}
 			}
 
@@ -498,10 +502,6 @@
 			if (decflag == 0)
 				continue;
 
-			if (_vm->_heversion >= 90) {
-				_shadow_mode = ((shadowMask & 0x8000) && xmap) ? 3 : 0;
-			}
-
 			switch (codec) {
 			case 1:
 				result |= codec1(xmoveCur, ymoveCur);





More information about the Scummvm-git-logs mailing list