Skip to content

[TF2] Fix Huo-Long Heater and Sharpened Volcano Fragment not extending afterburn duration against victims who are already on fire#1898

Open
num-get wants to merge 1 commit intoValveSoftware:masterfrom
num-get:afterburn_fix
Open

[TF2] Fix Huo-Long Heater and Sharpened Volcano Fragment not extending afterburn duration against victims who are already on fire#1898
num-get wants to merge 1 commit intoValveSoftware:masterfrom
num-get:afterburn_fix

Conversation

@num-get
Copy link
Copy Markdown
Contributor

@num-get num-get commented Apr 21, 2026

Description

Huo-Long Heater and Sharpened Volcano Fragment use GetInitialAfterburnDuration() instead of GetAfterburnRateOnHit() which cause those weapons to lose the ability to extend afterburn duration against burning players.

if ( !InCond( TF_COND_BURNING ) )
{
// Start burning
AddCond( TF_COND_BURNING, -1.f, pAttacker );
m_flFlameBurnTime = gpGlobals->curtime + TF_BURNING_FREQUENCY;
m_flAfterburnDuration = pWeapon ? pWeapon->GetInitialAfterburnDuration() : 0.f;

Before:

2026-04-21.15-35-30.mp4
2026-04-21.15-36-29.mp4

After:

2026-04-21.15-48-46.mp4
ezgif-64d2cc4f7c6e33ee.mp4

…rburn duration against victims who are already on fire
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