shithub: choc

Download patch

ref: 4a0d949a30c88f79cebf91721dabcdc687a62ec7
parent: ea7a1db3ecea211437f2ae2b7938e7d654b0b240
author: Turo Lamminen <turol@iki.fi>
date: Wed Sep 7 11:33:38 EDT 2022

doom: Move advancedemo forward declaration to d_main.h

--- a/src/doom/d_main.h
+++ b/src/doom/d_main.h
@@ -44,6 +44,7 @@
 //
 
 extern  gameaction_t    gameaction;
+extern boolean advancedemo;
 
 
 #endif
--- a/src/doom/d_net.c
+++ b/src/doom/d_net.c
@@ -68,7 +68,6 @@
 
 static void RunTic(ticcmd_t *cmds, boolean *ingame)
 {
-    extern boolean advancedemo;
     unsigned int i;
 
     // Check for player quits.