foxygit / doom Log in
commit 0e526452efc77a6fb8889545b456dfa58a92628f
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Tue Sep 13 18:49:03 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Fri Oct 7 13:14:28 2022 +0300

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

diff --git a/src/hexen/g_game.c b/src/hexen/g_game.c
index 02054b24..f25d1e4d 100644
--- a/src/hexen/g_game.c
+++ b/src/hexen/g_game.c
@@ -190,7 +190,6 @@ int testcontrols_mousespeed;
 ====================
 */

-extern boolean inventory;
 boolean usearti = true;

 void G_BuildTiccmd(ticcmd_t *cmd, int maketic)
diff --git a/src/hexen/h2def.h b/src/hexen/h2def.h
index c05d2d05..71bc82a0 100644
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -1057,6 +1057,9 @@ void F_StartFinale(void);

 extern int inv_ptr;
 extern int curpos;
+extern boolean inventory;
+
+
 void SB_Init(void);
 void SB_SetClassData(void);
 boolean SB_Responder(event_t * event);