Skip to content

Commit 9e1c707

Browse files
committed
1 parent f9e9036 commit 9e1c707

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/game/shared/tf/tf_weaponbase.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5296,6 +5296,9 @@ void CTFWeaponBase::ApplyOnHitAttributes( CBaseEntity *pVictimBaseEntity, CTFPla
52965296
if ( pVictim &&
52975297
pVictim->IsPlayerClass( TF_CLASS_SPY ) &&
52985298
pVictim->m_Shared.InCond( TF_COND_DISGUISED ) &&
5299+
#ifdef BDSBASE
5300+
(pVictim->m_Shared.GetDisguiseTeam() != pVictim->GetTeamNumber()) &&
5301+
#endif
52995302
!( pVictim->m_Shared.IsStealthed() || pVictim->m_Shared.InCond( TF_COND_STEALTHED_BLINK ) ) )
53005303
{
53015304
flPercentage = 0.0f;

0 commit comments

Comments
 (0)