shithub: choc

Download patch

ref: e2b50a923c7c395b604aba5125cf84e049f7886b
parent: a3f891402b02b6574530a4dc162514052d087d6c
author: Turo Lamminen <turol@iki.fi>
date: Tue Sep 13 15:44:37 EDT 2022

hexen: Move bottomslope and topslope extern declarations to p_local.h

--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -257,6 +257,8 @@
 extern line_t *spechit[MAXSPECIALCROSS];
 extern int numspechit;
 
+extern fixed_t topslope, bottomslope;   // slopes to top and bottom of target
+
 
 boolean P_TestMobjLocation(mobj_t * mobj);
 boolean P_CheckPosition(mobj_t * thing, fixed_t x, fixed_t y);
--- a/src/hexen/p_map.c
+++ b/src/hexen/p_map.c
@@ -1570,7 +1570,6 @@
 
 fixed_t aimslope;
 
-extern fixed_t topslope, bottomslope;   // slopes to top and bottom of target
 
 /*
 ===============================================================================