commit 14eb6d8970fa85395cbfdbcc3b418c79daec5625
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Tue Sep 13 19:47:46 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Mon Oct 3 12:52:14 2022 +0300
hexen: Move LavaInflictor extern declaration to p_spec.h
---
src/hexen/p_map.c | 2 --
src/hexen/p_mobj.c | 1 -
src/hexen/p_spec.h | 3 +++
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/hexen/p_map.c b/src/hexen/p_map.c
index 4fa3d5e9..b77777a9 100644
--- a/src/hexen/p_map.c
+++ b/src/hexen/p_map.c
@@ -1681,8 +1681,6 @@ boolean PTR_ShootTraverse(intercept_t * in)
fixed_t dist;
fixed_t thingtopslope, thingbottomslope;
- extern mobj_t LavaInflictor;
-
if (in->isaline)
{
li = in->d.line;
diff --git a/src/hexen/p_mobj.c b/src/hexen/p_mobj.c
index 15c85251..41659a9c 100644
--- a/src/hexen/p_mobj.c
+++ b/src/hexen/p_mobj.c
@@ -45,7 +45,6 @@ static void PlayerLandedOnThing(mobj_t * mo, mobj_t * onmobj);
// EXTERNAL DATA DECLARATIONS ----------------------------------------------
-extern mobj_t LavaInflictor;
// PUBLIC DATA DEFINITIONS -------------------------------------------------
diff --git a/src/hexen/p_spec.h b/src/hexen/p_spec.h
index 030ea202..9027eb2b 100644
--- a/src/hexen/p_spec.h
+++ b/src/hexen/p_spec.h
@@ -25,6 +25,9 @@ extern int *TerrainTypes;
extern short numlinespecials;
extern line_t *linespeciallist[MAXLINEANIMS];
+extern mobj_t LavaInflictor;
+
+
// Define values for map objects
#define MO_TELEPORTMAN 14