foxygit / doom Log in
commit e2b50a923c7c395b604aba5125cf84e049f7886b
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Tue Sep 13 19:44:37 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Mon Oct 3 12:52:15 2022 +0300

    hexen: Move bottomslope and topslope extern declarations to p_local.h
---
 src/hexen/p_local.h | 2 ++
 src/hexen/p_map.c   | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/hexen/p_local.h b/src/hexen/p_local.h
index 0d72449d..9f721b27 100644
--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -257,6 +257,8 @@ extern line_t *ceilingline;
 extern line_t *spechit[MAXSPECIALCROSS];
 extern int numspechit;

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

 boolean P_TestMobjLocation(mobj_t * mobj);
 boolean P_CheckPosition(mobj_t * thing, fixed_t x, fixed_t y);
diff --git a/src/hexen/p_map.c b/src/hexen/p_map.c
index 959e06d8..be6a2928 100644
--- a/src/hexen/p_map.c
+++ b/src/hexen/p_map.c
@@ -1570,7 +1570,6 @@ fixed_t attackrange;

 fixed_t aimslope;

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

 /*
 ===============================================================================