shithub: choc

Download patch

ref: 8669b9f7d86c51e1901e888468f3e86c7a84a6cc
parent: 560e6fcefd63fd0d2cb58c0b5025a7fe5a2ef43f
author: Turo Lamminen <turol@iki.fi>
date: Tue Sep 13 16:17:03 EDT 2022

hexen: Move P_UndoPlayerMorph prototype to p_local.h

--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -117,6 +117,8 @@
 int P_GetPlayerNum(player_t * player);
 void P_TeleportOther(mobj_t * victim);
 void ResetBlasted(mobj_t * mo);
+boolean P_UndoPlayerMorph(player_t *player);
+
 
 // ***** P_MOBJ *****
 
--- a/src/hexen/sb_bar.c
+++ b/src/hexen/sb_bar.c
@@ -1772,8 +1772,6 @@
 
 static void CheatPigFunc(player_t * player, Cheat_t * cheat)
 {
-    extern boolean P_UndoPlayerMorph(player_t * player);
-
     if (player->morphTics)
     {
         P_UndoPlayerMorph(player);