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

    hexen: Move A_CHolyAttack3 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 8d0f27ba..055abfb0 100644
--- a/src/hexen/p_enemy.c
+++ b/src/hexen/p_enemy.c
@@ -4726,8 +4726,6 @@ void A_FighterAttack(mobj_t * actor)

 void A_ClericAttack(mobj_t * actor)
 {
-    extern void A_CHolyAttack3(mobj_t * actor);
-
     if (!actor->target)
         return;
     A_CHolyAttack3(actor);
diff --git a/src/hexen/p_local.h b/src/hexen/p_local.h
index 1542eed3..bc3a2ef6 100644
--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -186,6 +186,7 @@ boolean P_LookForMonsters(mobj_t * actor);
 void P_InitCreatureCorpseQueue(boolean corpseScan);
 void A_DeQueueCorpse(mobj_t * actor);
 void A_Explode(mobj_t *actor);
+void A_CHolyAttack3(mobj_t *actor);


 // ***** P_MAPUTL *****