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

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

diff --git a/src/strife/d_main.c b/src/strife/d_main.c
index 672c4e12..876fe74a 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 sidemove[2];

         if (p<myargc-1)
             scale = atoi (myargv[p+1]);
diff --git a/src/strife/doomstat.h b/src/strife/doomstat.h
index 90cc8ef2..e205a7f0 100644
--- a/src/strife/doomstat.h
+++ b/src/strife/doomstat.h
@@ -184,6 +184,7 @@ extern  boolean	demorecording;
 extern  int     mouse_fire_countdown;   // villsa [STRIFE]

 extern fixed_t forwardmove[2];
+extern fixed_t sidemove[2];

 // Round angleturn in ticcmds to the nearest 256.  This is used when
 // recording Vanilla demos in netgames.