[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.58,2.59

Max Horn fingolfin at users.sourceforge.net
Fri Mar 7 14:45:05 CET 2003


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

Modified Files:
	scummvm.cpp 
Log Message:
ah yeah, I did that on purpose. Really. Just wanted to check if everybody is paying attention

Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 2.58
retrieving revision 2.59
diff -u -d -r2.58 -r2.59
--- scummvm.cpp	7 Mar 2003 21:56:38 -0000	2.58
+++ scummvm.cpp	7 Mar 2003 22:44:25 -0000	2.59
@@ -1451,12 +1451,12 @@
 		const int16 directions[] = { 22,  72, 107, 157, 202, 252, 287, 337 };
 		for (int i = 0; i < 7; i++)
 			if (dir >= directions[i] && dir <= directions[i+1])
-				return i;
+				return i+1;
 	} else {
 		const int16 directions[] = { 71, 109, 251, 289 };
 		for (int i = 0; i < 3; i++)
 			if (dir >= directions[i] && dir <= directions[i+1])
-				return i;
+				return i+1;
 	}
 
 	return 0;





More information about the Scummvm-git-logs mailing list