shithub: choc

Download patch

ref: e5409bfa53f3ebcb720b41383d8a9f52b3505be9
parent: f274857617c282a890bb4d5db40f809cc5f97b73
author: Turo Lamminen <turol@iki.fi>
date: Sat Sep 10 13:06:14 EDT 2022

heretic: Move advancedemo extern declaration to doomdef.h

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