diff options
| author | Subv <s.v.h21@hotmail.com> | 2013-05-17 21:11:18 -0500 |
|---|---|---|
| committer | Subv <s.v.h21@hotmail.com> | 2013-05-17 21:11:18 -0500 |
| commit | 25acef257240edb7763eac043554ca7c7ac767eb (patch) | |
| tree | e574a1a4936201d811a06eb132720eef68d99d99 /src/server/game/Spells | |
| parent | 7c18bbb95f896fa320e4f8a2b7808714b8ba270c (diff) | |
* Batch of fixes for issues found by static analysis.
Diffstat (limited to 'src/server/game/Spells')
| -rw-r--r-- | src/server/game/Spells/Auras/SpellAuras.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp index 732cb50e274..e9c456c4c7b 100644 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -1600,6 +1600,9 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b switch (GetId()) { case 19746: + if (!caster) + break; + // Improved concentration aura - linked aura if (caster->HasAura(20254) || caster->HasAura(20255) || caster->HasAura(20256)) { @@ -1608,6 +1611,7 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b else target->RemoveAura(63510); } + break; case 31821: // Aura Mastery Triggered Spell Handler // If apply Concentration Aura -> trigger -> apply Aura Mastery Immunity |
