shithub: choc

Download patch

ref: 429944bd45e618d2e9e931852838ed9cbf8d1d4d
parent: 72a4653aaba2936661596601b91a61a2c13109ae
author: Turo Lamminen <[email protected]>
date: Sat Sep 17 14:09:07 EDT 2022

strife: Move bottomslope extern declaration to p_local.h

--- a/src/strife/p_local.h
+++ b/src/strife/p_local.h
@@ -231,7 +231,9 @@
 
 extern fixed_t attackrange;
 
+// slopes to top and bottom of target
 extern fixed_t topslope;
+extern fixed_t bottomslope;
 
 
 boolean P_CheckPosition (mobj_t *thing, fixed_t x, fixed_t y);
--- a/src/strife/p_map.c
+++ b/src/strife/p_map.c
@@ -953,9 +953,6 @@
 
 fixed_t		aimslope;
 
-// slopes to top and bottom of target
-extern fixed_t	bottomslope;	
-
 
 //
 // PTR_AimTraverse