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

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

diff --git a/src/strife/d_main.c b/src/strife/d_main.c
index 4ee73039..672c4e12 100644
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -1699,7 +1699,6 @@ void D_DoomMain (void)
     if ( (p=M_CheckParm ("-turbo")) )
     {
         int     scale = 200;
-        extern fixed_t forwardmove[2];
         extern fixed_t sidemove[2];

         if (p<myargc-1)
diff --git a/src/strife/doomstat.h b/src/strife/doomstat.h
index 345669b5..90cc8ef2 100644
--- a/src/strife/doomstat.h
+++ b/src/strife/doomstat.h
@@ -183,6 +183,8 @@ extern  boolean	demoplayback;
 extern  boolean	demorecording;
 extern  int     mouse_fire_countdown;   // villsa [STRIFE]

+extern fixed_t forwardmove[2];
+
 // Round angleturn in ticcmds to the nearest 256.  This is used when
 // recording Vanilla demos in netgames.