File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Client/mods/deathmatch/logic Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -410,11 +410,11 @@ void CResource::ShowCursor(bool bShow, bool bToggleControls)
410
410
411
411
// Update our showing cursor state
412
412
m_bShowingCursor = bShow;
413
-
414
- // Show cursor if more than 0 resources wanting the cursor on
415
- g_pCore->ForceCursorVisible (m_iShowingCursor > 0 , bToggleControls);
416
- g_pClientGame->SetCursorEventsEnabled (m_iShowingCursor > 0 );
417
413
}
414
+
415
+ // Always update cursor and controls state regardless of cursor visibility change
416
+ g_pCore->ForceCursorVisible (m_iShowingCursor > 0 , bToggleControls);
417
+ g_pClientGame->SetCursorEventsEnabled (m_iShowingCursor > 0 );
418
418
}
419
419
420
420
SString CResource::GetResourceDirectoryPath (eAccessType accessType, const SString& strMetaPath)
You can’t perform that action at this time.
0 commit comments