Unset delay when not pressing anything

Allows for mashing a button to be just as responsive as before
This commit is contained in:
Sally Coolatta 2021-12-25 07:10:56 -05:00
parent e53ad4edf4
commit d6d561f0e8

View file

@ -1234,7 +1234,7 @@ static void M_UpdateMenuCMD(UINT8 i)
if (menucmd[i].dpad_ud == 0 && menucmd[i].dpad_lr == 0 && menucmd[i].buttons == 0)
{
// Reset delay count with no buttons.
menucmd[i].delayCount = 0;
menucmd[i].delay = menucmd[i].delayCount = 0;
}
}