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

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

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

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


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

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

-extern int ArmorIncrement[NUMCLASSES][NUMARMOR];
 extern int AutoArmorSave[NUMCLASSES];

 // PUBLIC DATA DECLARATIONS ------------------------------------------------