ref: d3a663f06d0e58de7614900de34cd2f685946e43
parent: 67c53a834088ab62577b94094430f2ef47689628
author: Turo Lamminen <[email protected]>
date: Sat Sep 17 13:53:24 EDT 2022
strife: Move spechit extern declaration to p_local.h
--- a/src/strife/p_enemy.c
+++ b/src/strife/p_enemy.c
@@ -383,7 +383,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[];
boolean P_Move (mobj_t* actor)
{
--- a/src/strife/p_local.h
+++ b/src/strife/p_local.h
@@ -227,6 +227,7 @@
extern line_t *blockingline; // [STRIFE] New global
extern int numspechit;
+extern line_t *spechit[];
boolean P_CheckPosition (mobj_t *thing, fixed_t x, fixed_t y);
--- a/src/strife/p_mobj.c
+++ b/src/strife/p_mobj.c
@@ -30,8 +30,6 @@
#include "doomstat.h"
#include "d_main.h" // villsa [STRIFE]
-extern line_t *spechit[]; // haleyjd:
-
void G_PlayerReborn (int player);
void P_SpawnMapThing (mapthing_t* mthing);