Browse Source

engine: client: disable enabling mouse cursor in key_message (typing in chat)

pull/2/head
Alibek Omarov 2 years ago
parent
commit
9a42f4149f
  1. 2
      engine/client/input.c

2
engine/client/input.c

@ -176,7 +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 )
{ {
Platform_SetCursorType( dc_arrow ); Platform_SetCursorType( dc_arrow );

Loading…
Cancel
Save