ref: 6ffde276cf80289d8df91e78cdec1405ea72cc51
parent: 3cad4c9a1187b6b87fee94db840005c3c4bbe4a7
author: Turo Lamminen <[email protected]>
date: Tue Sep 13 15:31:18 EDT 2022
hexen: Move spechit extern declaration to p_local.h
--- a/src/hexen/p_enemy.c
+++ b/src/hexen/p_enemy.c
@@ -228,7 +228,6 @@
fixed_t yspeed[8] =
{ 0, 47000, FRACUNIT, 47000, 0, -47000, -FRACUNIT, -47000 };
-extern line_t *spechit[MAXSPECIALCROSS];
extern int numspechit;
boolean P_Move(mobj_t * actor)
--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -249,6 +249,9 @@
extern mobj_t *BlockingMobj;
extern line_t *ceilingline;
+extern line_t *spechit[MAXSPECIALCROSS];
+
+
boolean P_TestMobjLocation(mobj_t * mobj);
boolean P_CheckPosition(mobj_t * thing, fixed_t x, fixed_t y);
mobj_t *P_CheckOnmobj(mobj_t * thing);