shithub: choc

Download patch

ref: 0cf031d542b5ed48c3dc777007b98597fde3ec53
parent: ebfd3b52f1b3444e9f53959c958aca13e50abfe9
author: Turo Lamminen <turol@iki.fi>
date: Tue Sep 13 16:14:04 EDT 2022

hexen: Move ArmorIncrement extern declaration to p_local.h

--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -298,6 +298,7 @@
 // ***** P_INTER *****
 
 extern int clipmana[NUMMANA];
+extern int ArmorIncrement[NUMCLASSES][NUMARMOR];
 extern const char *TextKeyMessages[];
 
 
--- a/src/hexen/sb_bar.c
+++ b/src/hexen/sb_bar.c
@@ -87,7 +87,6 @@
 
 // EXTERNAL DATA DECLARATIONS ----------------------------------------------
 
-extern int ArmorIncrement[NUMCLASSES][NUMARMOR];
 extern int AutoArmorSave[NUMCLASSES];
 
 // PUBLIC DATA DECLARATIONS ------------------------------------------------