shithub: choc

Download patch

ref: 0e526452efc77a6fb8889545b456dfa58a92628f
parent: f28f2b6eb4017e8ed4776fd85428124612e3c5d9
author: Turo Lamminen <turol@iki.fi>
date: Tue Sep 13 14:49:03 EDT 2022

hexen: Move inventory extern declaration to h2def.h

--- a/src/hexen/g_game.c
+++ b/src/hexen/g_game.c
@@ -190,7 +190,6 @@
 ====================
 */
 
-extern boolean inventory;
 boolean usearti = true;
 
 void G_BuildTiccmd(ticcmd_t *cmd, int maketic)
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -1057,6 +1057,9 @@
 
 extern int inv_ptr;
 extern int curpos;
+extern boolean inventory;
+
+
 void SB_Init(void);
 void SB_SetClassData(void);
 boolean SB_Responder(event_t * event);