Code Style (game + scripts only):
"!=" --> " != " (when needed) " !=" --> " !=" "!= " --> "!= " --HG-- branch : trunk
This commit is contained in:
1 parent
46f0674e23
commit
4635fbc020
54 files changed
+270
-270
No files matched your search
@@ -1081,7 +1081,7 @@ void Aura::HandleAuraSpecificMods(AuraApplication const * aurApp, Unit * caster,
|
||||
// aura remove - remove auras from all party members
|
||||
std::list<Unit*> PartyMembers;
|
||||
target->GetPartyMembers(PartyMembers);
|
||||
for (std::list<Unit*>::iterator itr = PartyMembers.begin(); itr!=PartyMembers.end(); ++itr)
|
||||
for (std::list<Unit*>::iterator itr = PartyMembers.begin(); itr != PartyMembers.end(); ++itr)
|
||||
{
|
||||
if ((*itr)!= target)
|
||||
(*itr)->RemoveAurasWithFamily(SPELLFAMILY_WARRIOR, 0, 0x2, 0, GetCasterGUID());
|
||||
@@ -1125,7 +1125,7 @@ void Aura::HandleAuraSpecificMods(AuraApplication const * aurApp, Unit * caster,
|
||||
// Do not remove GO when aura is removed by stack
|
||||
// to prevent remove GO added by new spell
|
||||
// old one is already removed
|
||||
if (removeMode!=AURA_REMOVE_BY_STACK)
|
||||
if (removeMode != AURA_REMOVE_BY_STACK)
|
||||
target->RemoveGameObject(GetId(), true);
|
||||
target->RemoveAura(62388);
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user