shithub: choc

Download patch

ref: 0d8aaef74ce2378e249caa9089db9d368ba9ac22
parent: d991427fa136d025570f83d7f81e8e0f84cf331d
author: Turo Lamminen <[email protected]>
date: Sat Sep 17 12:39:29 EDT 2022

strife: Move sidemove extern declaration to doomstat.h

--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -1699,7 +1699,6 @@
     if ( (p=M_CheckParm ("-turbo")) )
     {
         int     scale = 200;
-        extern fixed_t sidemove[2];
 
         if (p<myargc-1)
             scale = atoi (myargv[p+1]);
--- a/src/strife/doomstat.h
+++ b/src/strife/doomstat.h
@@ -184,6 +184,7 @@
 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.