shithub: choc

Download patch

ref: 341ddbb109b2650cf56801cdfd8a4c4aec729e58
parent: 0d8aaef74ce2378e249caa9089db9d368ba9ac22
author: Turo Lamminen <turol@iki.fi>
date: Sat Sep 17 12:42:41 EDT 2022

strife: Move advancedemo extern declaration to d_main.h

--- a/src/strife/d_main.h
+++ b/src/strife/d_main.h
@@ -51,6 +51,8 @@
 extern  boolean        isdemoversion;  // haleyjd [STRIFE]
 extern  boolean         stonecold;      // villsa [STRIFE]
 extern  boolean         workparm;       // villsa [STRIFE]
+extern boolean advancedemo;
+
 
 #endif
 
--- a/src/strife/d_net.c
+++ b/src/strife/d_net.c
@@ -67,7 +67,6 @@
 
 static void RunTic(ticcmd_t *cmds, boolean *ingame)
 {
-    extern boolean advancedemo;
     unsigned int i;
 
     // Check for player quits.