engine: client: fix inconsistent mouse state caused by mis-use of touch_emulate by cs16-client

This commit is contained in:
Alibek Omarov
2025-02-23 07:13:39 +03:00
parent 8b9a40ff1f
commit ccf342f4fe
4 changed files with 13 additions and 23 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ void Platform_SetCursorType( VGUI_DefaultCursor type )
}
// never disable cursor in touch emulation mode
if( !visible && Touch_Emulated( ))
if( !visible && Touch_WantVisibleCursor( ))
return;
host.mouse_visible = visible;