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

    heretic: Move inventory extern declaration to doomdef.h
---
 src/heretic/doomdef.h | 4 ++++
 src/heretic/g_game.c  | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/heretic/doomdef.h b/src/heretic/doomdef.h
index 3d4c56fb..b4463380 100644
--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -812,6 +812,10 @@ void F_StartFinale(void);
 // STATUS BAR (SB_bar.c)
 //----------------------

+
+extern boolean inventory;
+
+
 void SB_Init(void);
 boolean SB_Responder(event_t * event);
 void SB_Ticker(void);
diff --git a/src/heretic/g_game.c b/src/heretic/g_game.c
index e6aebc46..45fd5287 100644
--- a/src/heretic/g_game.c
+++ b/src/heretic/g_game.c
@@ -279,7 +279,6 @@ static int G_NextWeapon(int direction)
 ====================
 */

-extern boolean inventory;
 extern int curpos;
 extern int inv_ptr;