shithub: choc

Download patch

ref: 521a1c828176944fcb4182661bca3f94220b60e8
parent: cb71cbe07a78cb7ce0a7af2fff80edc4396eda0d
parent: 9bedee62ce9c225dedfad5f3e45880ce909b3a1e
author: Turo Lamminen <turol@users.noreply.github.com>
date: Fri Nov 4 08:41:34 EDT 2022

Merge pull request #1543 from turol/extern-doom

Clean up extern in doom, part inf

--- 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