shithub: choc

Download patch

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

strife: Move topslope extern declaration to p_local.h

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