ref: 3e760f384569cc159bb43bb3ed417feefa00ed44
parent: 6b5982fa5dd25697e4cb42aff13551bb98a61eab
author: Turo Lamminen <[email protected]>
date: Sat Sep 10 14:52:56 EDT 2022
heretic: Move P_UndoPlayerChicken prototype to p_local.h
--- a/src/heretic/p_local.h
+++ b/src/heretic/p_local.h
@@ -119,6 +119,8 @@
void P_PlayerUseArtifact(player_t * player, artitype_t arti);
boolean P_UseArtifact(player_t * player, artitype_t arti);
int P_GetPlayerNum(player_t * player);
+boolean P_UndoPlayerChicken(player_t *player);
+
// ***** P_MOBJ *****
--- a/src/heretic/sb_bar.c
+++ b/src/heretic/sb_bar.c
@@ -1242,8 +1242,6 @@
static void CheatChickenFunc(player_t * player, Cheat_t * cheat)
{
- extern boolean P_UndoPlayerChicken(player_t * player);
-
if (player->chickenTics)
{
if (P_UndoPlayerChicken(player))