shithub: choc

Download patch

ref: 46091b65134b680febd9ce0dd993f91dece2afcb
parent: c6723f36255e8052e5ab5463ad579772e49d4615
author: Turo Lamminen <turol@iki.fi>
date: Tue Sep 13 14:54:21 EDT 2022

hexen: Move P_PlayerNextArtifact prototype to p_local.h

--- a/src/hexen/g_game.c
+++ b/src/hexen/g_game.c
@@ -35,7 +35,6 @@
 // External functions
 
 extern void R_InitSky(int map);
-extern void P_PlayerNextArtifact(player_t * player);
 
 // Functions
 
--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -108,6 +108,7 @@
 
 void P_PlayerThink(player_t * player);
 void P_Thrust(player_t * player, angle_t angle, fixed_t move);
+void P_PlayerNextArtifact(player_t *player);
 void P_PlayerRemoveArtifact(player_t * player, int slot);
 void P_PlayerUseArtifact(player_t * player, artitype_t arti);
 boolean P_UseArtifact(player_t * player, artitype_t arti);
--- a/src/hexen/p_user.c
+++ b/src/hexen/p_user.c
@@ -21,7 +21,6 @@
 #include "p_local.h"
 #include "s_sound.h"
 
-void P_PlayerNextArtifact(player_t * player);
 
 // Macros