Skip to content

[DMC] respect crosshair cvar when drawing crosshair - #4018

Open
SirYodaJedi wants to merge 2 commits into
ValveSoftware:masterfrom
Yuis-Archives:dmc_respect_crosshair_cvar
Open

[DMC] respect crosshair cvar when drawing crosshair#4018
SirYodaJedi wants to merge 2 commits into
ValveSoftware:masterfrom
Yuis-Archives:dmc_respect_crosshair_cvar

Conversation

@SirYodaJedi

Copy link
Copy Markdown

Because of the unusual quake-esque way Deathmatch Classic draws its crosshair, the crosshair is forced drawn regardless of the status of the crosshair cvar. This PR hooks onto the existing engine cvar (thanks @ScriptedSnark for demonstrating how) and treats it as a Boolean, skipping the crosshair drawing code if the cvar resolves false (is zero).

SirYodaJedi and others added 2 commits August 16, 2026 19:06
Co-authored-by: ScriptedSnark <51358194+ScriptedSnark@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant