Remove hidden autoplay

This commit is contained in:
Martin Natano
2022-06-08 20:12:57 +02:00
parent cb3cf0ab95
commit 551e6344f7
3 changed files with 2 additions and 19 deletions
-6
View File
@@ -630,12 +630,6 @@ class DebugLineAutoplay : public IDebugLine
FOREACH_MultiPlayer(p)
GAMESTATE->m_pMultiPlayerState[p]->m_PlayerController = GamePreferences::m_AutoPlay;
// Hide Autoplay if Alt is held down
bool bHoldingAlt =
INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, KEY_LALT) ) ||
INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, KEY_RALT) );
ScreenSyncOverlay::SetShowAutoplay( !bHoldingAlt );
IDebugLine::DoAndLog( sMessageOut );
}
};