[Scummvm-cvs-logs] CVS: scummvm/scumm script_v5.cpp,1.45,1.46

Max Horn fingolfin at users.sourceforge.net
Sun Apr 27 09:13:11 CEST 2003


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

Modified Files:
	script_v5.cpp 
Log Message:
cleanup

Index: script_v5.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v5.cpp,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- script_v5.cpp	27 Apr 2003 15:58:36 -0000	1.45
+++ script_v5.cpp	27 Apr 2003 16:12:30 -0000	1.46
@@ -971,7 +971,7 @@
 	Actor *a;
 	getResultPos();
 	a = derefActorSafe(getVarOrDirectByte(0x80), "o5_getActorWalkbox");
-	if (a)												// FIXME - bug 572977 workaround
+	if (a) // FIXME - bug 572977 workaround
 		setResult(a->walkbox);
 	else
 		setResult(0);
@@ -1008,7 +1008,7 @@
 			return;
 		}
 
-		// Hack to fix bug 636433 (can't get into Zeppelin) 
+		// FIXME - bug 636433 workaround (can't get into Zeppelin) 
 		if (_roomResource == 36) {
 			setResult(getObjY(a) - 1);
 			return;
@@ -1025,7 +1025,7 @@
 
 	a = derefActorSafe(getVarOrDirectByte(0x80), "o5_getActorAnimCounter");
 
-	if (a)												// FIXME
+	if (a) // FIXME
 		setResult(a->cost.animCounter1);
 	else
 		setResult(0);
@@ -1061,7 +1061,7 @@
 	o2 = getVarOrDirectWord(0x40);
 	r = getObjActToObjActDist(o1, o2);
 
-	/* FIXME: MI2 race workaround, see bug 597022 */
+	// FIXME: MI2 race workaround, see bug 597022
 	if (_gameId == GID_MONKEY2 && vm.slot[_currentScript].number == 40 && r < 60) 
 		r = 60; 
 
@@ -1136,7 +1136,7 @@
 		cls = getVarOrDirectWord(0x80);
 
 		if (!cls) // FIXME: Ender can't remember why this is here,
-			b=false;  // but it fixes an oddball zak256 crash
+			b = false;  // but it fixes an oddball zak256 crash
 		else
 			b = getClass(act, cls);
 





More information about the Scummvm-git-logs mailing list