Skip to content

Conversation

@Tkain
Copy link
Contributor

@Tkain Tkain commented Nov 22, 2025

Description

In TF2, if a Spy activates the Dead Ringer and is hit by the Holy Mackerel, Unarmed Combat, or Hot Hand, these weapons' hit counter messages ("x1"/"x2"/etc.) will get added to the killfeed rather than their kill messages ("FISH/ARM/SLAP KILL!"). This is an issue because it can give away to a player when a Spy is feigning their death.

The reason this occurs is because although these weapons' death notices are set to use their kill messages instead of their hit messages for feigned deaths (see here), these death notices only assume they correspond to a feigned death if CTFPlayer::IsGoingFeignDeath (i.e. m_bGoingFeignDeath in CTFPlayer) is true when the notice is run. This PR fixes this by briefly setting m_bGoingFeignDeath to true when these death notices are posted for Spies feigning their deaths.

Screenshots

Both screenshots are taken after hitting a Spy with their Dead Ringer active with the Holy Mackerel.

Without this PR:

The Spy's death notice says "x1"

With this PR:

The Spy's death notice says "FISH KILL!"

This resolves ValveSoftware/Source-1-Games#7456.

In other words, this commit fixes the Holy Mackerel, Unarmed Combat, and Hot Hand displaying "x1"/"x2"/etc. messages instead of "FISH/ARM/SLAP KILL!" messages in the killfeed when a Spy feigns death with the Dead Ringer.

The short reason for why this occurs is that m_bGoingFeignDeath isn't set when these messages are triggered, which means that TF2 doesn't know that such a message coincides with a Spy feigning their death.
@Tkain Tkain changed the title [TF2] Fix humiliation death notices not reflecting feigned deaths [TF2] Fix fish/arm/slap messages not reflecting feigned deaths Nov 22, 2025
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] Feigned Dead Ringer death still shows 'slap x2' and similar killfeed messages

1 participant