shithub: choc

Download patch

ref: c7dc95985881f316123ed10a372047d70e2904ea
parent: 3c9bfb89c3a444883dbc352763a98996339e9d3a
author: Turo Lamminen <turol@iki.fi>
date: Wed Sep 7 11:30:05 EDT 2022

doom: Move sidemove extern declaration to g_game.h

--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -1462,7 +1462,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/doom/g_game.h
+++ b/src/doom/g_game.h
@@ -79,6 +79,7 @@
 extern int vanilla_demo_limit;
 
 extern fixed_t forwardmove[2];
+extern fixed_t sidemove[2];
 
 
 #endif