mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-09 03:24:52 +00:00
Merge 803c3ce89e
into 0565403b15
This commit is contained in:
commit
2eebf46562
1 changed files with 2 additions and 1 deletions
|
@ -10045,8 +10045,9 @@ void CTFPlayer::AddConnectedPlayers( CUtlVector<CTFPlayer*> &vecPlayers, CTFPlay
|
|||
|
||||
for ( int i = 0 ; i < pPlayerToConsider->m_Shared.GetNumHealers() ; i++ )
|
||||
{
|
||||
// Make sure the Medic is healing us specifically - don't count AoE healing
|
||||
CTFPlayer *pMedic = ToTFPlayer( pPlayerToConsider->m_Shared.GetHealerByIndex( i ) );
|
||||
if ( pMedic )
|
||||
if ( pMedic && pMedic->MedicGetHealTarget() == pPlayerToConsider )
|
||||
{
|
||||
AddConnectedPlayers( vecPlayers, pMedic );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue