shithub: choc

Download patch

ref: 14eb6d8970fa85395cbfdbcc3b418c79daec5625
parent: 04a1a01f3d264c56c52b414f6999564c1c3d5444
author: Turo Lamminen <[email protected]>
date: Tue Sep 13 15:47:46 EDT 2022

hexen: Move LavaInflictor extern declaration to p_spec.h

--- a/src/hexen/p_map.c
+++ b/src/hexen/p_map.c
@@ -1681,8 +1681,6 @@
     fixed_t dist;
     fixed_t thingtopslope, thingbottomslope;
 
-    extern mobj_t LavaInflictor;
-
     if (in->isaline)
     {
         li = in->d.line;
--- a/src/hexen/p_mobj.c
+++ b/src/hexen/p_mobj.c
@@ -45,7 +45,6 @@
 
 // EXTERNAL DATA DECLARATIONS ----------------------------------------------
 
-extern mobj_t LavaInflictor;
 
 // PUBLIC DATA DEFINITIONS -------------------------------------------------
 
--- a/src/hexen/p_spec.h
+++ b/src/hexen/p_spec.h
@@ -25,6 +25,9 @@
 extern short numlinespecials;
 extern line_t *linespeciallist[MAXLINEANIMS];
 
+extern mobj_t LavaInflictor;
+
+
 //      Define values for map objects
 #define MO_TELEPORTMAN 14