commit 9f7a20c80bf2d37a5847cc624ef5d89abf9dea37
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Tue Sep 13 19:40:22 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Mon Oct 3 12:52:15 2022 +0300
hexen: Move A_MStaffAttack2 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 10b5ce56..080476ad 100644
--- a/src/hexen/p_enemy.c
+++ b/src/hexen/p_enemy.c
@@ -4733,8 +4733,6 @@ void A_ClericAttack(mobj_t * actor)
void A_MageAttack(mobj_t * actor)
{
- extern void A_MStaffAttack2(mobj_t * actor);
-
if (!actor->target)
return;
A_MStaffAttack2(actor);
diff --git a/src/hexen/p_local.h b/src/hexen/p_local.h
index 846d86db..3f4596d1 100644
--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -188,6 +188,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);
+void A_MStaffAttack2(mobj_t *actor);
// ***** P_MAPUTL *****