From 42740149ac8fb2de4c9a25ec3e2b81c4c4d3e221 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 16 Nov 2022 21:02:41 +0300 Subject: [PATCH] engine: client: fix mouse cursor being hidden in background map --- engine/client/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/input.c b/engine/client/input.c index 68d6e2aa..6c43c7d2 100644 --- a/engine/client/input.c +++ b/engine/client/input.c @@ -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 );