shithub: choc

Download patch

ref: a34d50aaaf4548815747e135b2ad2347ff4f1338
parent: e438d7331598845fc5e1631847cb7521a362c998
author: Turo Lamminen <turol@iki.fi>
date: Sat Sep 17 14:05:49 EDT 2022

strife: Move attackrange extern declaration to p_local.h

--- a/src/strife/p_local.h
+++ b/src/strife/p_local.h
@@ -229,6 +229,8 @@
 extern int numspechit;
 extern line_t *spechit[];
 
+extern fixed_t attackrange;
+
 
 boolean P_CheckPosition (mobj_t *thing, fixed_t x, fixed_t y);
 boolean P_TryMove (mobj_t* thing, fixed_t x, fixed_t y);
--- a/src/strife/p_mobj.c
+++ b/src/strife/p_mobj.c
@@ -1026,7 +1026,6 @@
 // * No spawn tics randomization
 // * Player melee behavior
 //
-extern fixed_t attackrange;
 
 void
 P_SpawnPuff