shithub: choc

Download patch

ref: 3324d280124f4a13531c411c5d5b6599db6e220c
parent: 6a201b131011d2ed802a3a4f0aee8588c595b302
author: Turo Lamminen <turol@iki.fi>
date: Thu Sep 8 09:12:01 EDT 2022

doom: Move attackrange extern declaration to p_local.h

--- a/src/doom/p_local.h
+++ b/src/doom/p_local.h
@@ -233,6 +233,10 @@
 
 extern mobj_t*	linetarget;	// who got hit (or NULL)
 
+
+extern fixed_t attackrange;
+
+
 fixed_t
 P_AimLineAttack
 ( mobj_t*	t1,
--- a/src/doom/p_mobj.c
+++ b/src/doom/p_mobj.c
@@ -865,7 +865,6 @@
 //
 // P_SpawnPuff
 //
-extern fixed_t attackrange;
 
 void
 P_SpawnPuff