Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Client/mods/deathmatch/logic/CResource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -410,11 +410,11 @@ void CResource::ShowCursor(bool bShow, bool bToggleControls)

// Update our showing cursor state
m_bShowingCursor = bShow;

// Show cursor if more than 0 resources wanting the cursor on
g_pCore->ForceCursorVisible(m_iShowingCursor > 0, bToggleControls);
g_pClientGame->SetCursorEventsEnabled(m_iShowingCursor > 0);
}

// Always update cursor and controls state regardless of cursor visibility change
g_pCore->ForceCursorVisible(m_iShowingCursor > 0, bToggleControls);
g_pClientGame->SetCursorEventsEnabled(m_iShowingCursor > 0);
}

SString CResource::GetResourceDirectoryPath(eAccessType accessType, const SString& strMetaPath)
Expand Down