ref: 67c53a834088ab62577b94094430f2ef47689628
parent: a3a5f9655f0bc7a77bfc8a08f7fda3e961ae0979
author: Turo Lamminen <turol@iki.fi>
date: Sat Sep 17 13:51:18 EDT 2022
strife: Move numspechit extern declaration to p_local.h
--- a/src/strife/p_enemy.c
+++ b/src/strife/p_enemy.c
@@ -384,7 +384,6 @@
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)
{
--- a/src/strife/p_local.h
+++ b/src/strife/p_local.h
@@ -226,6 +226,9 @@
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]
--- 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);