- SDL: clear button state when switching from/to GUI input

https://forum.zdoom.org/viewtopic.php?t=60451
This commit is contained in:
alexey.lysiuk 2018-05-06 14:37:04 +03:00
parent ce18ff1df3
commit 7fcefa2ed1

View file

@ -41,6 +41,7 @@
#include "d_event.h"
#include "d_gui.h"
#include "c_console.h"
#include "c_dispatch.h"
#include "dikeys.h"
#include "s_sound.h"
#include "events.h"
@ -193,6 +194,7 @@ static void I_CheckGUICapture ()
{
memset (DownState, 0, sizeof(DownState));
}
ResetButtonStates();
}
}