foxygit / doom Log in
commit c6723f36255e8052e5ab5463ad579772e49d4615
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Sat Sep 10 19:12:42 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Mon Oct 3 12:52:15 2022 +0300

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

diff --git a/src/hexen/a_action.c b/src/hexen/a_action.c
index be9b1e6d..35fa9ebd 100644
--- a/src/hexen/a_action.c
+++ b/src/hexen/a_action.c
@@ -788,8 +788,6 @@ void A_PoisonBagDamage(mobj_t * actor)
 {
     int bobIndex;

-    extern void A_Explode(mobj_t * actor);
-
     A_Explode(actor);

     bobIndex = actor->special2.i;
diff --git a/src/hexen/p_local.h b/src/hexen/p_local.h
index 379b3d20..a77b93b5 100644
--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -184,6 +184,7 @@ void A_NoBlocking(mobj_t * actor);
 boolean P_LookForMonsters(mobj_t * actor);
 void P_InitCreatureCorpseQueue(boolean corpseScan);
 void A_DeQueueCorpse(mobj_t * actor);
+void A_Explode(mobj_t *actor);


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