fix code style

fix code style
This commit is contained in:
leelf00
2022-04-13 08:22:38 +08:00
parent 35ce6b34c4
commit f9caec524a

View File

@@ -433,7 +433,7 @@ public:
std::vector<ThreatReference*> vt = me->GetThreatManager().GetModifiableThreatList(); // GetUnsortedThreatList //Trinity::IteratorPair<ThreatListIterator> ThreatContainer::StorageType
for(std::vector<ThreatReference*>::iterator iter=vt.begin();iter!=vt.end();iter++)
{
{
if (Unit* target = (*iter)->GetVictim())
if (target->IsAlive() && target->GetTypeId() == TYPEID_PLAYER)
spellProtectionOfEluneTargets.push_back(target);