foxygit / doom Log in
commit 7195acf48d9226420b4e5bdf46ee583fcb401a8d
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Tue Sep 13 19:38:55 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Mon Oct 3 12:52:15 2022 +0300

    hexen: Move A_FSwordAttack2 prototype to p_local.h
---
 src/hexen/p_enemy.c | 2 --
 src/hexen/p_local.h | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/hexen/p_enemy.c b/src/hexen/p_enemy.c
index 055abfb0..10b5ce56 100644
--- a/src/hexen/p_enemy.c
+++ b/src/hexen/p_enemy.c
@@ -4716,8 +4716,6 @@ void A_FastChase(mobj_t * actor)

 void A_FighterAttack(mobj_t * actor)
 {
-    extern void A_FSwordAttack2(mobj_t * actor);
-
     if (!actor->target)
         return;
     A_FSwordAttack2(actor);
diff --git a/src/hexen/p_local.h b/src/hexen/p_local.h
index bc3a2ef6..846d86db 100644
--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -187,6 +187,7 @@ void P_InitCreatureCorpseQueue(boolean corpseScan);
 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 *****