mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-09 21:52:05 +08:00
engine: client: fix mouse cursor being hidden in background map
This commit is contained in:
@@ -177,7 +177,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( )))
|
||||
( CL_IsBackgroundMap() || CL_IsBackgroundDemo( )))
|
||||
{
|
||||
Platform_SetCursorType( dc_arrow );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user