mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-29 16:24:16 +00:00
engine: client: fixed forced text input turn off in Key_EnableTextInput
This commit is contained in:
parent
d3e213aa1b
commit
b175d6d95f
@ -814,9 +814,9 @@ void Key_EnableTextInput( qboolean enable, qboolean force )
|
|||||||
OSK_EnableTextInput( enable, force );
|
OSK_EnableTextInput( enable, force );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if( enable && ( !host.textmode || force ) )
|
if( enable && ( !host.textmode || force ))
|
||||||
Platform_EnableTextInput( true );
|
Platform_EnableTextInput( true );
|
||||||
else if( !enable )
|
else if( !enable && ( host.textmode || force ))
|
||||||
Platform_EnableTextInput( false );
|
Platform_EnableTextInput( false );
|
||||||
|
|
||||||
host.textmode = enable;
|
host.textmode = enable;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user