[Scummvm-cvs-logs] CVS: scummvm/scumm script_v80he.cpp,2.111,2.112

Max Horn fingolfin at users.sourceforge.net
Tue May 10 07:05:13 CEST 2005


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

Modified Files:
	script_v80he.cpp 
Log Message:
Fix another mistake in the asm-to-C conversion

Index: script_v80he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v80he.cpp,v
retrieving revision 2.111
retrieving revision 2.112
diff -u -d -r2.111 -r2.112
--- script_v80he.cpp	10 May 2005 14:00:59 -0000	2.111
+++ script_v80he.cpp	10 May 2005 14:01:54 -0000	2.112
@@ -674,7 +674,7 @@
 
 		if (ebx > maxDist) {
 			eax = 1;
-			if (dx >= maxDist) {
+			if (dx >= 0) {
 				x++;
 			} else {
 				x--;
@@ -694,8 +694,7 @@
 		if (eax == 0)
 			continue;
 
-		var_C++;
-		if (((var_C - 1) % step) != 0 && maxDist != i)
+		if ((var_C++ % step) != 0 && maxDist != i)
 			continue;
 
 		if (type == 2) {





More information about the Scummvm-git-logs mailing list