2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00

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

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 )
{