foxygit / doom Log in
commit 560e6fcefd63fd0d2cb58c0b5025a7fe5a2ef43f
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Tue Sep 13 20:15:23 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Mon Oct 3 12:52:15 2022 +0300

    hexen: Move AutoArmorSave extern declaration to p_local.h
---
 src/hexen/p_local.h | 1 +
 src/hexen/sb_bar.c  | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/hexen/p_local.h b/src/hexen/p_local.h
index 0437b21c..c88a5040 100644
--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -299,6 +299,7 @@ extern mobj_t **blocklinks;     // for thing chains

 extern int clipmana[NUMMANA];
 extern int ArmorIncrement[NUMCLASSES][NUMARMOR];
+extern int AutoArmorSave[NUMCLASSES];
 extern const char *TextKeyMessages[];


diff --git a/src/hexen/sb_bar.c b/src/hexen/sb_bar.c
index 6a27d4aa..704f4138 100644
--- a/src/hexen/sb_bar.c
+++ b/src/hexen/sb_bar.c
@@ -87,8 +87,6 @@ static void CheatTrackFunc2(player_t * player, Cheat_t * cheat);

 // EXTERNAL DATA DECLARATIONS ----------------------------------------------

-extern int AutoArmorSave[NUMCLASSES];
-
 // PUBLIC DATA DECLARATIONS ------------------------------------------------

 boolean DebugSound;             // Debug flag for displaying sound info