commit 72a4653aaba2936661596601b91a61a2c13109ae
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Sat Sep 17 18:07:49 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Wed Sep 28 11:13:50 2022 +0300
strife: Move topslope extern declaration to p_local.h
---
src/strife/p_local.h | 2 ++
src/strife/p_map.c | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/strife/p_local.h b/src/strife/p_local.h
index b5443e78..b7fb08f6 100644
--- a/src/strife/p_local.h
+++ b/src/strife/p_local.h
@@ -231,6 +231,8 @@ extern line_t *spechit[];
extern fixed_t attackrange;
+extern fixed_t topslope;
+
boolean P_CheckPosition (mobj_t *thing, fixed_t x, fixed_t y);
boolean P_TryMove (mobj_t* thing, fixed_t x, fixed_t y);
diff --git a/src/strife/p_map.c b/src/strife/p_map.c
index 03b57edd..654ad99a 100644
--- a/src/strife/p_map.c
+++ b/src/strife/p_map.c
@@ -954,7 +954,6 @@ fixed_t attackrange;
fixed_t aimslope;
// slopes to top and bottom of target
-extern fixed_t topslope;
extern fixed_t bottomslope;