*Disable commit 4821 / 9d0967884f0b (caused some NPCs to not regenerate HP when they should), found by Gyullo and tested by Manuel
--HG-- branch : trunk
This commit is contained in:
@@ -93,12 +93,13 @@ void CreatureAI::DoZoneInCombat(Creature* creature)
|
||||
creature->AddThreat(pPlayer, 0.0f);
|
||||
}
|
||||
|
||||
for(Unit::ControlList::const_iterator itr = pPlayer->m_Controlled.begin(); itr != pPlayer->m_Controlled.end(); ++itr)
|
||||
// TC2 commit 4821 / 9d0967884f0b, disabled (causes some NPCs to not regenerate HP):
|
||||
/* for(Unit::ControlList::const_iterator itr = pPlayer->m_Controlled.begin(); itr != pPlayer->m_Controlled.end(); ++itr)
|
||||
{
|
||||
creature->SetInCombatWith(*itr);
|
||||
(*itr)->SetInCombatWith(creature);
|
||||
creature->AddThreat(*itr, 0.0f);
|
||||
}
|
||||
} */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user