mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-18 19:10:37 +00:00
engine: client: always toggle mouse on when in console, menu or typing chat message
This commit is contained in:
parent
42740149ac
commit
023f6712f9
@ -176,8 +176,7 @@ void IN_ToggleClientMouse( int newstate, int oldstate )
|
||||
|
||||
// since SetCursorType controls cursor visibility
|
||||
// execute it first, and then check mouse grab state
|
||||
if(( newstate == key_menu || newstate == key_console || newstate == key_message ) &&
|
||||
( CL_IsBackgroundMap() || CL_IsBackgroundDemo( )))
|
||||
if( newstate == key_menu || newstate == key_console || newstate == key_message )
|
||||
{
|
||||
Platform_SetCursorType( dc_arrow );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user