shithub: choc

Download patch

ref: 858af0e3617bc28b142c9fe119aed6fc9f17fb1e
parent: 0f125276c0242cde89833c0dabf064f35fdba54b
author: Turo Lamminen <[email protected]>
date: Sat Sep 17 12:59:50 EDT 2022

strife: Remove automapactive extern declarations

It was already in doomstat.h, just needed to include it

--- a/src/strife/hu_lib.c
+++ b/src/strife/hu_lib.c
@@ -29,10 +29,11 @@
 #include "r_draw.h"
 #include "hu_stuff.h" // [STRIFE]
 
+#include "doomstat.h"
+
 // boolean : whether the screen is always erased
 #define noterased viewwindowx
 
-extern boolean	automapactive;	// in AM_map.c
 
 extern boolean D_PatchClipCallback(patch_t *patch, int x, int y); // [STRIFE]
 
--- a/src/strife/st_lib.c
+++ b/src/strife/st_lib.c
@@ -36,12 +36,6 @@
 #include "r_local.h"
 
 
-// in AM_map.c
-extern boolean		automapactive; 
-
-
-
-
 //
 // Hack display negative frags.
 //  Loads and store the stminus lump.