shithub: choc

Download patch

ref: 560e6fcefd63fd0d2cb58c0b5025a7fe5a2ef43f
parent: 0cf031d542b5ed48c3dc777007b98597fde3ec53
author: Turo Lamminen <turol@iki.fi>
date: Tue Sep 13 16:15:23 EDT 2022

hexen: Move AutoArmorSave extern declaration to p_local.h

--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -299,6 +299,7 @@
 
 extern int clipmana[NUMMANA];
 extern int ArmorIncrement[NUMCLASSES][NUMARMOR];
+extern int AutoArmorSave[NUMCLASSES];
 extern const char *TextKeyMessages[];
 
 
--- a/src/hexen/sb_bar.c
+++ b/src/hexen/sb_bar.c
@@ -87,8 +87,6 @@
 
 // EXTERNAL DATA DECLARATIONS ----------------------------------------------
 
-extern int AutoArmorSave[NUMCLASSES];
-
 // PUBLIC DATA DECLARATIONS ------------------------------------------------
 
 boolean DebugSound;             // Debug flag for displaying sound info