shithub: choc

Download patch

ref: 8d3f31b70dd68e1bb49cbad976acc0119e329ef8
parent: fdf3b4c33e61cbdd05d9408e3710c0449f9194fd
author: Turo Lamminen <[email protected]>
date: Sat Sep 10 14:09:06 EDT 2022

heretic: Move spechit and numspechit extern declarations to p_local.h

--- a/src/heretic/p_enemy.c
+++ b/src/heretic/p_enemy.c
@@ -242,9 +242,6 @@
 fixed_t yspeed[8] =
     { 0, 47000, FRACUNIT, 47000, 0, -47000, -FRACUNIT, -47000 };
 
-#define	MAXSPECIALCROSS		8
-extern line_t *spechit[MAXSPECIALCROSS];
-extern int numspechit;
 
 boolean P_Move(mobj_t * actor)
 {
--- a/src/heretic/p_local.h
+++ b/src/heretic/p_local.h
@@ -243,6 +243,11 @@
 
 void P_RadiusAttack(mobj_t * spot, mobj_t * source, int damage);
 
+#define	MAXSPECIALCROSS		8
+extern line_t *spechit[MAXSPECIALCROSS];
+extern int numspechit;
+
+
 // ***** P_SETUP *****
 
 extern byte *rejectmatrix;      // for fast sight rejection