From b53673e26380615ac238af853d02f8e9ca3b4784 Mon Sep 17 00:00:00 2001 From: TheNotoriousFrogposter Date: Mon, 15 Jun 2026 23:20:08 +0800 Subject: [PATCH] Keep the Classic's crosshair enabled if tf_hud_no_crosshair_on_scope_zoom is set to 1 --- src/game/client/tf/clientmode_tf.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/game/client/tf/clientmode_tf.cpp b/src/game/client/tf/clientmode_tf.cpp index 25ee8d3761c..56e7c216194 100644 --- a/src/game/client/tf/clientmode_tf.cpp +++ b/src/game/client/tf/clientmode_tf.cpp @@ -609,6 +609,13 @@ bool ClientModeTFNormal::ShouldDrawCrosshair() pPlayer->m_Shared.InCond( TF_COND_ZOOMED ) && tf_hud_no_crosshair_on_scope_zoom.GetBool() ) { + if ( pPlayer->GetActiveTFWeapon() ) + { + if ( pPlayer->GetActiveTFWeapon()->GetWeaponID() == TF_WEAPON_SNIPERRIFLE_CLASSIC ) + { + return ClientModeShared::ShouldDrawCrosshair(); + } + } return false; }