Core: Fix warnings
This commit is contained in:
1 parent
f4f09e3eb5
commit
08e2b03b28
2 files changed
+2
-12
No files matched your search
@@ -6131,9 +6131,6 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
||||
target = this;
|
||||
break;
|
||||
}
|
||||
if (!victim)
|
||||
return false;
|
||||
|
||||
// Holy Power (Redemption Armor set)
|
||||
case 28789:
|
||||
{
|
||||
@@ -7147,13 +7144,6 @@ bool Unit::HandleProcTriggerSpell(Unit* victim, uint32 damage, AuraEffect* trigg
|
||||
RemoveAurasDueToSpell(50240);
|
||||
break;
|
||||
}
|
||||
// Warrior - Vigilance, SPELLFAMILY_GENERIC
|
||||
if (auraSpellInfo->Id == 50720)
|
||||
{
|
||||
target = triggeredByAura->GetCaster();
|
||||
if (!target)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case SPELLFAMILY_MAGE:
|
||||
|
||||
Reference in new issue
Block a user