From f74ba52990f7d2c0359f5bd7445e07f16ac1f9e2 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 12 Apr 2020 05:40:16 +0200 Subject: [PATCH] - compile fixes. --- source/core/gamecontrol.cpp | 2 +- source/exhumed/src/player.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/core/gamecontrol.cpp b/source/core/gamecontrol.cpp index 76d84f95e..ed8fbdc62 100644 --- a/source/core/gamecontrol.cpp +++ b/source/core/gamecontrol.cpp @@ -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. diff --git a/source/exhumed/src/player.cpp b/source/exhumed/src/player.cpp index e15bb474b..2473bb09a 100644 --- a/source/exhumed/src/player.cpp +++ b/source/exhumed/src/player.cpp @@ -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;