From d27c705b15cdf5d2b20bc376fe8435c2de7e55a8 Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 29 Aug 2019 01:21:02 +0000 Subject: [PATCH] Fix MSVC build git-svn-id: https://svn.eduke32.com/eduke32@8053 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/game.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/duke3d/src/game.h b/source/duke3d/src/game.h index 406015474..28823cb7e 100644 --- a/source/duke3d/src/game.h +++ b/source/duke3d/src/game.h @@ -32,6 +32,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include "fix16.h" #include "gamedefs.h" #include "gamevars.h" +#include "mmulti.h" #include "network.h" #ifdef __cplusplus @@ -459,7 +460,6 @@ static inline int32_t calc_smoothratio_demo(ClockTicks totalclk, ClockTicks otot return clamp(tabledivide64(65536*elapsedFrames*REALGAMETICSPERSEC, rfreq), 0, 65536); } -extern int myconnectindex; static inline int32_t calc_smoothratio(ClockTicks totalclk, ClockTicks ototalclk) { if (!((ud.show_help == 0 && (!g_netServer && ud.multimode < 2) && ((g_player[myconnectindex].ps->gm & MODE_MENU) == 0)) ||