engine: client: fix mouse cursor being hidden in background map
This commit is contained in:
parent
7b74015c4d
commit
42740149ac
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,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( )))
|
( CL_IsBackgroundMap() || CL_IsBackgroundDemo( )))
|
||||||
{
|
{
|
||||||
Platform_SetCursorType( dc_arrow );
|
Platform_SetCursorType( dc_arrow );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue