diff --git a/src/posix/sdl/i_input.cpp b/src/posix/sdl/i_input.cpp index cc3acd5ba..88c43050c 100644 --- a/src/posix/sdl/i_input.cpp +++ b/src/posix/sdl/i_input.cpp @@ -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(); } }