diff --git a/src/wi_stuff.c b/src/wi_stuff.c index 995c72a58..b2baabab2 100644 --- a/src/wi_stuff.c +++ b/src/wi_stuff.c @@ -1562,5 +1562,7 @@ void WI_Start(wbstartstruct_t *wbstartstruct) WI_InitStats(); +#if SDL_VERSION_ATLEAST(2, 24, 0) SDL_ResetKeyboard(); +#endif }