shithub: choc

Download patch

ref: 9bedee62ce9c225dedfad5f3e45880ce909b3a1e
parent: cb71cbe07a78cb7ce0a7af2fff80edc4396eda0d
author: Turo Lamminen <turol@iki.fi>
date: Thu Sep 8 08:53:04 EDT 2022

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

--- a/src/doom/p_local.h
+++ b/src/doom/p_local.h
@@ -236,6 +236,10 @@
 
 extern fixed_t attackrange;
 
+// slopes to top and bottom of target
+extern fixed_t	topslope;
+extern fixed_t	bottomslope;
+
 
 fixed_t
 P_AimLineAttack
--- a/src/doom/p_map.c
+++ b/src/doom/p_map.c
@@ -830,10 +830,6 @@
 
 fixed_t		aimslope;
 
-// slopes to top and bottom of target
-extern fixed_t	topslope;
-extern fixed_t	bottomslope;	
-
 
 //
 // PTR_AimTraverse