mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 13:11:33 +00:00
- clear the button state when entering chat mode.
Since the game cannot be controlled while typing a chat the state must be reset to prevent residual state from triggering actions afterward.
This commit is contained in:
parent
d4bb2fa418
commit
fb8bc9876c
1 changed files with 2 additions and 0 deletions
|
@ -508,6 +508,7 @@ CCMD (messagemode)
|
|||
{
|
||||
if (menuactive == MENU_Off)
|
||||
{
|
||||
buttonMap.ResetButtonStates();
|
||||
chatmodeon = 1;
|
||||
C_HideConsole ();
|
||||
CT_ClearChatMessage ();
|
||||
|
@ -530,6 +531,7 @@ CCMD (messagemode2)
|
|||
{
|
||||
if (menuactive == MENU_Off)
|
||||
{
|
||||
buttonMap.ResetButtonStates();
|
||||
chatmodeon = 2;
|
||||
C_HideConsole ();
|
||||
CT_ClearChatMessage ();
|
||||
|
|
Loading…
Reference in a new issue