shithub: choc

Download patch

ref: 04a1a01f3d264c56c52b414f6999564c1c3d5444
parent: bddfd7613d1389ff91a7c5a3810127a8f4734434
author: Turo Lamminen <turol@iki.fi>
date: Tue Sep 13 16:18:35 EDT 2022

hexen: Move cheating extern declaration to am_map.h

--- a/src/hexen/am_map.h
+++ b/src/hexen/am_map.h
@@ -118,6 +118,7 @@
 } islope_t;
 
 
+extern int cheating;
 extern boolean automapactive;
 
 
--- a/src/hexen/sb_bar.c
+++ b/src/hexen/sb_bar.c
@@ -1928,7 +1928,6 @@
     }
 }
 
-extern int cheating;
 
 static void CheatRevealFunc(player_t * player, Cheat_t * cheat)
 {