shithub: choc

Download patch

ref: 13a26589a3f292ef3f6dce941de68ea7b33746b0
parent: e5409bfa53f3ebcb720b41383d8a9f52b3505be9
author: Turo Lamminen <turol@iki.fi>
date: Sat Sep 10 13:16:01 EDT 2022

heretic: Move inventory extern declaration to doomdef.h

--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -812,6 +812,10 @@
 // STATUS BAR (SB_bar.c)
 //----------------------
 
+
+extern boolean inventory;
+
+
 void SB_Init(void);
 boolean SB_Responder(event_t * event);
 void SB_Ticker(void);
--- a/src/heretic/g_game.c
+++ b/src/heretic/g_game.c
@@ -279,7 +279,6 @@
 ====================
 */
 
-extern boolean inventory;
 extern int curpos;
 extern int inv_ptr;