foxygit / doom Log in
commit 429944bd45e618d2e9e931852838ed9cbf8d1d4d
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Sat Sep 17 18:09:07 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Wed Sep 28 11:13:50 2022 +0300

    strife: Move bottomslope extern declaration to p_local.h
---
 src/strife/p_local.h | 2 ++
 src/strife/p_map.c   | 3 ---
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/strife/p_local.h b/src/strife/p_local.h
index b7fb08f6..abbb071b 100644
--- a/src/strife/p_local.h
+++ b/src/strife/p_local.h
@@ -231,7 +231,9 @@ extern line_t *spechit[];

 extern fixed_t attackrange;

+// slopes to top and bottom of target
 extern fixed_t topslope;
+extern fixed_t bottomslope;


 boolean P_CheckPosition (mobj_t *thing, fixed_t x, fixed_t y);
diff --git a/src/strife/p_map.c b/src/strife/p_map.c
index 654ad99a..0aa2862f 100644
--- a/src/strife/p_map.c
+++ b/src/strife/p_map.c
@@ -953,9 +953,6 @@ fixed_t		attackrange;

 fixed_t		aimslope;

-// slopes to top and bottom of target
-extern fixed_t	bottomslope;
-

 //
 // PTR_AimTraverse