From 821dff9868b62cc08a2f0373215b0175861a0da7 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sun, 8 Nov 2020 22:00:14 +1100 Subject: [PATCH] - ApplyGlobalInput(): Clear open button for both Witchaven games like Blood. --- source/core/inputstate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/inputstate.cpp b/source/core/inputstate.cpp index 7c3c66674..3f11c1b0d 100644 --- a/source/core/inputstate.cpp +++ b/source/core/inputstate.cpp @@ -389,7 +389,7 @@ void ApplyGlobalInput(InputPacket& input, ControlInfo* hidInput, bool const crou if (buttonMap.ButtonDown(gamefunc_Open)) { - if (g_gameType & GAMEFLAG_BLOOD) buttonMap.ClearButton(gamefunc_Open); + if (g_gameType & (GAMEFLAG_BLOOD | GAMEFLAG_WHALL)) buttonMap.ClearButton(gamefunc_Open); input.actions |= SB_OPEN; } if (G_CheckAutorun(buttonMap.ButtonDown(gamefunc_Run)))