mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-11-15 14:36:42 +01:00
engine: platform: sdl: fixed Key_Event callback when text input enabled
This commit is contained in:
parent
b175d6d95f
commit
8044d23e7f
@ -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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user