commit 9bedee62ce9c225dedfad5f3e45880ce909b3a1e
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Thu Sep 8 12:53:04 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Fri Nov 4 12:34:00 2022 +0200
doom: Move topslope and bottomslope extern declarations to p_local.h
---
src/doom/p_local.h | 4 ++++
src/doom/p_map.c | 4 ----
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/doom/p_local.h b/src/doom/p_local.h
index 698e4c54..41159676 100644
--- a/src/doom/p_local.h
+++ b/src/doom/p_local.h
@@ -236,6 +236,10 @@ extern mobj_t* linetarget; // who got hit (or NULL)
extern fixed_t attackrange;
+// slopes to top and bottom of target
+extern fixed_t topslope;
+extern fixed_t bottomslope;
+
fixed_t
P_AimLineAttack
diff --git a/src/doom/p_map.c b/src/doom/p_map.c
index 2d980807..425416ce 100644
--- a/src/doom/p_map.c
+++ b/src/doom/p_map.c
@@ -830,10 +830,6 @@ fixed_t attackrange;
fixed_t aimslope;
-// slopes to top and bottom of target
-extern fixed_t topslope;
-extern fixed_t bottomslope;
-
//
// PTR_AimTraverse