shithub: hexen

Download patch

ref: 74a4498e93ff77506e3d30b6f32c0c3f936c86db
parent: 9793deef21fbec91ab405684d478a43b36f8799b
author: Jacob Moody <moody@posixcafe.org>
date: Sat Feb 4 23:21:50 EST 2023

cleanup

--- a/a_action.c
+++ b/a_action.c
@@ -268,10 +268,6 @@
 
 	for (i = (P_Random()&3)+1; i; i--)
 	{
-		//print("LEAF\n");
-		/* a = ((P_Random2())<<14);
-		b = ((P_Random2())<<14);
-		c = (P_Random()<<14); */
 
 		d = (P_Random()&1);
 		c = (P_Random()<<14);
@@ -278,8 +274,6 @@
 		b = ((P_Random2())<<14);
 		a = ((P_Random2())<<14);
 
-		//print("%d %d %d %d\n", a, b, c, d);
-		//print("%d %d %d\n", actor->x + a, actor->y + b, actor->z + c);
 		mo = P_SpawnMobj(actor->x + a,
 				 actor->y + b,
 				 actor->z + c,
@@ -1134,7 +1128,7 @@
 	mobj_t *mo;
 	int i;
 
-	int a, b, c, d;
+	int a, b, c;
 
 	mo = nil;
 	for (i = 0; i < 10; i++)