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. 2
      engine/client/keys.c

2
engine/client/keys.c

@ -816,7 +816,7 @@ void Key_EnableTextInput( qboolean enable, qboolean force )
} }
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