Browse Source

engine: client: always toggle mouse on when in console, menu or typing chat message

pull/2/head
Alibek Omarov 2 years ago
parent
commit
023f6712f9
  1. 3
      engine/client/input.c

3
engine/client/input.c

@ -176,8 +176,7 @@ void IN_ToggleClientMouse( int newstate, int oldstate )
// since SetCursorType controls cursor visibility // since SetCursorType controls cursor visibility
// execute it first, and then check mouse grab state // execute it first, and then check mouse grab state
if(( newstate == key_menu || newstate == key_console || newstate == key_message ) && if( newstate == key_menu || newstate == key_console || newstate == key_message )
( CL_IsBackgroundMap() || CL_IsBackgroundDemo( )))
{ {
Platform_SetCursorType( dc_arrow ); Platform_SetCursorType( dc_arrow );

Loading…
Cancel
Save