Skip to content

Fix intel carrier glow disappearing when Spy cloaks#1947

Open
shockpast wants to merge 1 commit into
ValveSoftware:masterfrom
shockpast:patch-1
Open

Fix intel carrier glow disappearing when Spy cloaks#1947
shockpast wants to merge 1 commit into
ValveSoftware:masterfrom
shockpast:patch-1

Conversation

@shockpast

@shockpast shockpast commented Jun 4, 2026

Copy link
Copy Markdown

Description

Fixes ValveSoftware/Source-1-Games#8047

CCaptureFlag::ShouldHideGlowEffect and CCaptureFlag::Simulate had two conditions related to LocalPlayer being fully cloaked, whereas second one was adding EF_NODRAW and causing flag to blink even if you stand infront of the player holding it, and first one had two conditions to stop rendering glow effect, if LocalPlayer is fully cloaked or EF_NODRAW is added.

I removed both checks of "being fully invisible" from the code since they don't seem to have any reason to exist, and more like some old code that was "fixing" something else (since git blame shows they are from first release of TF2 code in Source SDK 2013)

This is how it looks currently in Team Fortress 2 (as of 6/4/2026)

tf_win64_O7nIMumUFj.mp4

This is how it looks after patch applied.

NVIDIA_Overlay_a7jnTnYLJh.mp4

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.

[TF2] Cloaking disables the Intel carrier outline

1 participant