shithub: choc

Download patch

ref: 790d0a49a33c985f1870b83d3b59992c68924b3c
parent: 6ffde276cf80289d8df91e78cdec1405ea72cc51
author: Turo Lamminen <[email protected]>
date: Tue Sep 13 15:32:12 EDT 2022

hexen: Move numspechit 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 int numspechit;
 
 boolean P_Move(mobj_t * actor)
 {
--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -250,6 +250,7 @@
 
 extern line_t *ceilingline;
 extern line_t *spechit[MAXSPECIALCROSS];
+extern int numspechit;
 
 
 boolean P_TestMobjLocation(mobj_t * mobj);