foxygit / doom Log in
commit 858af0e3617bc28b142c9fe119aed6fc9f17fb1e
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Sat Sep 17 16:59:50 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Wed Sep 28 11:13:50 2022 +0300

    strife: Remove automapactive extern declarations

    It was already in doomstat.h, just needed to include it
---
 src/strife/hu_lib.c | 3 ++-
 src/strife/st_lib.c | 6 ------
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/strife/hu_lib.c b/src/strife/hu_lib.c
index cac27ef1..6b9855a2 100644
--- 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]

diff --git a/src/strife/st_lib.c b/src/strife/st_lib.c
index ecdbc95b..3ade0955 100644
--- 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.