commit a34d50aaaf4548815747e135b2ad2347ff4f1338
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Sat Sep 17 18:05:49 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Wed Sep 28 11:13:50 2022 +0300
strife: Move attackrange extern declaration to p_local.h
---
src/strife/p_local.h | 2 ++
src/strife/p_mobj.c | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/strife/p_local.h b/src/strife/p_local.h
index 8fc5c501..b5443e78 100644
--- a/src/strife/p_local.h
+++ b/src/strife/p_local.h
@@ -229,6 +229,8 @@ extern line_t *blockingline; // [STRIFE] New global
extern int numspechit;
extern line_t *spechit[];
+extern fixed_t attackrange;
+
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_mobj.c b/src/strife/p_mobj.c
index b4053b1d..ef49e8ef 100644
--- a/src/strife/p_mobj.c
+++ b/src/strife/p_mobj.c
@@ -1026,7 +1026,6 @@ void P_SpawnMapThing (mapthing_t* mthing)
// * No spawn tics randomization
// * Player melee behavior
//
-extern fixed_t attackrange;
void
P_SpawnPuff