Allow gamepads to accept text entry fields

git-svn-id: https://svn.eduke32.com/eduke32@7988 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-08-14 03:04:04 +00:00 committed by Christoph Oelckers
parent a29869f86e
commit 86aa23e394

View file

@ -377,8 +377,11 @@ int32_t I_EnterText(char *t, int32_t maxlength, int32_t flags)
}
}
// All gamefuncs (and *only* _gamefuncs_) in I_ReturnTriggerClear() should be replicated here.
CONTROL_ClearButton(gamefunc_Crouch);
if (I_AdvanceTrigger())
{
I_AdvanceTriggerClear();
return 1;
}
if (I_ReturnTrigger())
{
I_ReturnTriggerClear();