foxygit / doom Log in
commit 7c85545f0883fa1d2446f59eb404b3d6a2811ac5
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Sat Sep 10 17:17:37 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Tue Oct 25 18:04:45 2022 +0300

    heretic: Move curpos extern declaration to doomdef.h
---
 src/heretic/doomdef.h | 1 +
 src/heretic/g_game.c  | 1 -
 src/heretic/p_user.c  | 1 -
 3 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/heretic/doomdef.h b/src/heretic/doomdef.h
index b4463380..9fa5b42b 100644
--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -814,6 +814,7 @@ void F_StartFinale(void);


 extern boolean inventory;
+extern int curpos;


 void SB_Init(void);
diff --git a/src/heretic/g_game.c b/src/heretic/g_game.c
index 45fd5287..7f494830 100644
--- a/src/heretic/g_game.c
+++ b/src/heretic/g_game.c
@@ -279,7 +279,6 @@ static int G_NextWeapon(int direction)
 ====================
 */

-extern int curpos;
 extern int inv_ptr;

 boolean usearti = true;
diff --git a/src/heretic/p_user.c b/src/heretic/p_user.c
index 9c22d0b7..eae68dde 100644
--- a/src/heretic/p_user.c
+++ b/src/heretic/p_user.c
@@ -306,7 +306,6 @@ void P_MovePlayer(player_t * player)

 #define         ANG5    (ANG90/18)
 extern int inv_ptr;
-extern int curpos;

 void P_DeathThink(player_t * player)
 {