engine: platform: sdl: fixed Key_Event callback when text input enabled

This commit is contained in:
SNMetamorph 2022-04-22 21:37:01 +04:00 committed by a1batross
parent b175d6d95f
commit 8044d23e7f
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ static void SDLash_KeyEvent( SDL_KeyboardEvent key )
#endif
qboolean numLock = SDL_GetModState() & KMOD_NUM;
if( SDL_IsTextInputActive() && down )
if( SDL_IsTextInputActive() && down && cls.key_dest != key_game )
{
if( SDL_GetModState() & KMOD_CTRL )
{