commit 67c53a834088ab62577b94094430f2ef47689628
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Sat Sep 17 17:51:18 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Wed Sep 28 11:13:50 2022 +0300
strife: Move numspechit extern declaration to p_local.h
---
src/strife/p_enemy.c | 1 -
src/strife/p_local.h | 3 +++
src/strife/p_mobj.c | 1 -
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/strife/p_enemy.c b/src/strife/p_enemy.c
index 09d27001..72acb521 100644
--- a/src/strife/p_enemy.c
+++ b/src/strife/p_enemy.c
@@ -384,7 +384,6 @@ fixed_t xspeed[8] = {FRACUNIT,47000,0,-47000,-FRACUNIT,-47000,0,47000};
fixed_t yspeed[8] = {0,47000,FRACUNIT,47000,0,-47000,-FRACUNIT,-47000};
extern line_t* spechit[];
-extern int numspechit;
boolean P_Move (mobj_t* actor)
{
diff --git a/src/strife/p_local.h b/src/strife/p_local.h
index acd633a4..b1b989b3 100644
--- a/src/strife/p_local.h
+++ b/src/strife/p_local.h
@@ -226,6 +226,9 @@ extern fixed_t tmceilingz;
extern line_t *ceilingline;
extern line_t *blockingline; // [STRIFE] New global
+extern int numspechit;
+
+
boolean P_CheckPosition (mobj_t *thing, fixed_t x, fixed_t y);
boolean P_TryMove (mobj_t* thing, fixed_t x, fixed_t y);
boolean P_CheckPositionZ(mobj_t* thing, fixed_t z); // villsa [STRIFE]
diff --git a/src/strife/p_mobj.c b/src/strife/p_mobj.c
index 218059c9..18bbca71 100644
--- a/src/strife/p_mobj.c
+++ b/src/strife/p_mobj.c
@@ -31,7 +31,6 @@
#include "d_main.h" // villsa [STRIFE]
extern line_t *spechit[]; // haleyjd:
-extern int numspechit; // [STRIFE] - needed in P_XYMovement
void G_PlayerReborn (int player);