Skip to content

Commit

Permalink
fix ingame controller DC softlock
Browse files Browse the repository at this point in the history
  • Loading branch information
xan1242 committed Jul 7, 2023
1 parent d8df5b1 commit 861b6c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Main.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 861b6c1

Please sign in to comment.