shithub: choc

Download patch

ref: 78a3ff291e716eb70b8af6a360a12600f78c14d6
parent: 790d0a49a33c985f1870b83d3b59992c68924b3c
author: Turo Lamminen <turol@iki.fi>
date: Tue Sep 13 15:37:22 EDT 2022

hexen: Move A_CHolyAttack3 prototype to p_local.h

--- a/src/hexen/p_enemy.c
+++ b/src/hexen/p_enemy.c
@@ -4726,8 +4726,6 @@
 
 void A_ClericAttack(mobj_t * actor)
 {
-    extern void A_CHolyAttack3(mobj_t * actor);
-
     if (!actor->target)
         return;
     A_CHolyAttack3(actor);
--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -186,6 +186,7 @@
 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 *****