[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.43,1.44

Ralph Brorsen painelf at users.sourceforge.net
Sat Aug 3 15:50:02 CEST 2002


Update of /cvsroot/scummvm/scummvm/simon
In directory usw-pr-cvs1:/tmp/cvs-serv30106/simon

Modified Files:
	simon.cpp 
Log Message:
wjps simon save dialog patch. test for narrow letters was fixed, changed to non-negation for consistency

Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- simon.cpp	25 Jul 2002 20:57:55 -0000	1.43
+++ simon.cpp	3 Aug 2002 22:49:28 -0000	1.44
@@ -2316,9 +2316,9 @@
 		name_len = 0;
 		while (name[name_len]) {
 			fcs->unk6++;
-			fcs->unk3 += 4;
+			fcs->unk3 += 6;
 			if (name[name_len] == 'i' || name[name_len] == 'l')
-				fcs->unk3 += 2;
+				fcs->unk3 -= 2;
 			if (fcs->unk3 >= 8) {
 				fcs->unk3 -= 8;
 				fcs->unk1++;
@@ -3263,9 +3263,9 @@
 		video_putchar_helper_2(fcs, fcs->unk1 + fcs->x, fcs->unk2 * 8 + fcs->y, c);
 
 		fcs->unk6++;
-		fcs->unk3 += 4;
-		if (c != 'i' && c != 'l')
-			fcs->unk3 += 2;
+		fcs->unk3 += 6;
+		if (c == 'i' || c == 'l')
+			fcs->unk3 -= 2;
 
 		if (fcs->unk3 >= 8) {
 			fcs->unk3 -= 8;





More information about the Scummvm-git-logs mailing list