shithub: choc

Download patch

ref: ff9dde5ca50a436363be5bd10bd1a663ee245ceb
parent: 9c9bb8fd6d4e06d49bc2bdfe57258a3e1e2fdda1
author: Turo Lamminen <turol@iki.fi>
date: Sat Sep 10 15:24:09 EDT 2022

hexen: Move advancedemo extern declaration to h2def.h

--- a/src/hexen/d_net.c
+++ b/src/hexen/d_net.c
@@ -69,7 +69,6 @@
 
 static void RunTic(ticcmd_t *cmds, boolean *ingame)
 {
-    extern boolean advancedemo;
     unsigned int i;
 
     // Check for player quits.
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -680,6 +680,7 @@
 extern int startepisode;
 extern int startmap;
 extern boolean autostart;
+extern boolean advancedemo;
 
 extern boolean testcontrols;
 extern int testcontrols_mousespeed;