shithub: choc

Download patch

ref: 7195acf48d9226420b4e5bdf46ee583fcb401a8d
parent: 78a3ff291e716eb70b8af6a360a12600f78c14d6
author: Turo Lamminen <[email protected]>
date: Tue Sep 13 15:38:55 EDT 2022

hexen: Move A_FSwordAttack2 prototype to p_local.h

--- a/src/hexen/p_enemy.c
+++ b/src/hexen/p_enemy.c
@@ -4716,8 +4716,6 @@
 
 void A_FighterAttack(mobj_t * actor)
 {
-    extern void A_FSwordAttack2(mobj_t * actor);
-
     if (!actor->target)
         return;
     A_FSwordAttack2(actor);
--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -187,6 +187,7 @@
 void A_DeQueueCorpse(mobj_t * actor);
 void A_Explode(mobj_t *actor);
 void A_CHolyAttack3(mobj_t *actor);
+void A_FSwordAttack2(mobj_t *actor);
 
 
 // ***** P_MAPUTL *****