shithub: hexen

Download patch

ref: a8de7d9027b678cdc44da8ef85a121c70e6b8c5c
parent: ea9c413dbbeb6dcf9efcc6a00329e4049bd538a9
author: Jacob Moody <moody@posixcafe.org>
date: Sat Feb 4 19:45:02 EST 2023

missed file in last commit

--- a/p_map.c
+++ b/p_map.c
@@ -2291,8 +2291,8 @@
 		{
 			mo = P_SpawnMobj (thing->x, thing->y, thing->z + thing->height/2,
 										MT_BLOOD);
-			mo->momx = (P_Random() - P_Random())<<12;
-			mo->momy = (P_Random() - P_Random())<<12;
+			mo->momx = (P_Random2())<<12;
+			mo->momy = (P_Random2())<<12;
 		}
 	}