foxygit / doom Log in
commit 341ddbb109b2650cf56801cdfd8a4c4aec729e58
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Sat Sep 17 16:42:41 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Wed Sep 28 11:13:50 2022 +0300

    strife: Move advancedemo extern declaration to d_main.h
---
 src/strife/d_main.h | 2 ++
 src/strife/d_net.c  | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/strife/d_main.h b/src/strife/d_main.h
index adfe8710..0af177c7 100644
--- a/src/strife/d_main.h
+++ b/src/strife/d_main.h
@@ -51,6 +51,8 @@ extern  boolean         isregistered;   // villsa [STRIFE]
 extern  boolean        isdemoversion;  // haleyjd [STRIFE]
 extern  boolean         stonecold;      // villsa [STRIFE]
 extern  boolean         workparm;       // villsa [STRIFE]
+extern boolean advancedemo;
+

 #endif

diff --git a/src/strife/d_net.c b/src/strife/d_net.c
index 5b05e304..26d80783 100644
--- a/src/strife/d_net.c
+++ b/src/strife/d_net.c
@@ -67,7 +67,6 @@ static void PlayerQuitGame(player_t *player)

 static void RunTic(ticcmd_t *cmds, boolean *ingame)
 {
-    extern boolean advancedemo;
     unsigned int i;

     // Check for player quits.