shithub: choc

Download patch

ref: 9f7a20c80bf2d37a5847cc624ef5d89abf9dea37
parent: 7195acf48d9226420b4e5bdf46ee583fcb401a8d
author: Turo Lamminen <turol@iki.fi>
date: Tue Sep 13 15:40:22 EDT 2022

hexen: Move A_MStaffAttack2 prototype to p_local.h

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