From 861b6c17ba3dc072b15e7a65c5e86d1aa9699fc6 Mon Sep 17 00:00:00 2001 From: xan1242 <8014093+xan1242@users.noreply.github.com> Date: Fri, 7 Jul 2023 18:02:54 +0200 Subject: [PATCH] fix ingame controller DC softlock --- src/Main.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.hpp b/src/Main.hpp index c88ecca..14793e9 100644 --- a/src/Main.hpp +++ b/src/Main.hpp @@ -1191,7 +1191,7 @@ class InputDevice { for (unsigned int j = 0; j < MAX_ACTIONID; j++) { ActionID i = (ActionID)j; - if (bIsActionFrontEnd((ActionID)i) && bIsHudVisible()) bDoPolling = false; + if (bIsActionFrontEnd((ActionID)i) && bIsHudVisible() && (i != FRONTENDACTION_START)) bDoPolling = false; #ifdef GAME_WORLD // I *truly* do not understand this game. So, the inputs will only start working if a button was pressed BEFORE entering the game.