foxygit / doom Log in
commit 46091b65134b680febd9ce0dd993f91dece2afcb
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Tue Sep 13 18:54:21 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Mon Oct 3 12:52:15 2022 +0300

    hexen: Move P_PlayerNextArtifact prototype to p_local.h
---
 src/hexen/g_game.c  | 1 -
 src/hexen/p_local.h | 1 +
 src/hexen/p_user.c  | 1 -
 3 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/hexen/g_game.c b/src/hexen/g_game.c
index 6997037c..64e3d3bc 100644
--- 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

diff --git a/src/hexen/p_local.h b/src/hexen/p_local.h
index a77b93b5..e7a24a15 100644
--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -108,6 +108,7 @@ extern int PStateAttackEnd[NUMCLASSES];

 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);
diff --git a/src/hexen/p_user.c b/src/hexen/p_user.c
index c7fa7a3f..c78498c0 100644
--- 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