Skip to content

Commit ca5012a

Browse files
committed
Implemented ValveSoftware#1452
1 parent a1b00c2 commit ca5012a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/game/shared/tf/tf_player_shared.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4949,6 +4949,10 @@ static void RemoveResistParticle( CTFPlayer* pPlayer, medigun_resist_types_t nRe
49494949
if ( bKeep )
49504950
return;
49514951

4952+
#ifdef BDSBASE
4953+
pPlayer->RemoveOverheadEffect(s_pszRedResistOverheadEffectName[nResistType], true);
4954+
pPlayer->RemoveOverheadEffect(s_pszBlueResistOverheadEffectName[nResistType], true);
4955+
#else
49524956
if ( pPlayer->m_Shared.GetDisplayedTeam() == TF_TEAM_RED )
49534957
{
49544958
pPlayer->RemoveOverheadEffect( s_pszRedResistOverheadEffectName[ nResistType ], true );
@@ -4957,6 +4961,7 @@ static void RemoveResistParticle( CTFPlayer* pPlayer, medigun_resist_types_t nRe
49574961
{
49584962
pPlayer->RemoveOverheadEffect( s_pszBlueResistOverheadEffectName[ nResistType ], true );
49594963
}
4964+
#endif
49604965
}
49614966

49624967
//-----------------------------------------------------------------------------

0 commit comments

Comments
 (0)