Browse Source

engine: client: fixed forced text input turn off in Key_EnableTextInput

pull/2/head
SNMetamorph 3 years ago committed by a1batross
parent
commit
b175d6d95f
  1. 4
      engine/client/keys.c

4
engine/client/keys.c

@ -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…
Cancel
Save