From ccb6ef5cb688c1991871b2cebb68bb3ad31a84e4 Mon Sep 17 00:00:00 2001 From: rust-src Date: Thu, 4 Jun 2026 22:18:28 -0400 Subject: [PATCH] [TF2] Fix Thermal Thruster passives not being removed if it's unequipped during use (or player is a Medic) Reimplement https://github.com/ValveSoftware/source-sdk-2013/pull/1490 --- src/game/shared/tf/tf_player_shared.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/game/shared/tf/tf_player_shared.cpp b/src/game/shared/tf/tf_player_shared.cpp index dc538149a1f..40ac1f26bf3 100644 --- a/src/game/shared/tf/tf_player_shared.cpp +++ b/src/game/shared/tf/tf_player_shared.cpp @@ -3160,6 +3160,11 @@ void CTFPlayerShared::ConditionThink( void ) #endif } } + else + { + // RocketPack not found, may have been unequipped, or we may be a Medic who inherited the cond + RemoveCond( TF_COND_ROCKETPACK ); + } } }