Scripts/Misc: fixed more GCC warnings

This commit is contained in:
Ovahlord committed 2023-07-08 22:24:51 +02:00
1 parent 51b54151e3
commit b17585fc55
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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.