Scripts/Misc: fixed more GCC warnings
This commit is contained in:
1 parent
51b54151e3
commit
b17585fc55
2 files changed
+2
-2
No files matched your search
@@ -720,7 +720,7 @@ class spell_dk_pestilence : public SpellScript
|
||||
{
|
||||
float donePct = aurOld->GetDonePct();
|
||||
|
||||
if (AuraEffect* aurEffOld = aurOld->GetEffect(EFFECT_0))
|
||||
if (aurOld->GetEffect(EFFECT_0))
|
||||
{
|
||||
caster->CastSpell(hitUnit, SPELL_DK_FROST_FEVER, true); // Spread the disease to hitUnit.
|
||||
|
||||
|
||||
Reference in new issue
Block a user