- compile fixes.

This commit is contained in:
Christoph Oelckers 2020-04-12 05:40:16 +02:00
parent d46ea7481f
commit f74ba52990
2 changed files with 2 additions and 2 deletions

View file

@ -71,7 +71,7 @@ double g_beforeSwapTime;
GameInterface* gi;
int myconnectindex, numplayers;
int connecthead, connectpoint2[MAXMULTIPLAYERS];
int32_t xres = -1, yres = -1, bpp = 0, refreshfreq = -1;
int32_t xres = -1, yres = -1, bpp = 0;
auto vsnprintfptr = vsnprintf; // This is an inline in Visual Studio but we need an address for it to satisfy the MinGW compiled libraries.

View file

@ -307,7 +307,7 @@ void PlayerInterruptKeys()
bPlayerPan = kTrue;
nDestVertPan[nLocalPlayer] = PlayerList[nLocalPlayer].q16horiz;
}
else if (buttonMap.ButtonDown(gamefunc_Look_Straight))
else if (buttonMap.ButtonDown(gamefunc_Center_View))
{
bLockPan = kFalse;
bPlayerPan = kFalse;