Core/Misc: fixed another bunch of GCC warnings

This commit is contained in:
Ovahlord committed 2023-07-08 21:33:08 +02:00
1 parent 3de1f9a104
commit b489a905e1
10 files changed
+54 -62

No files matched your search

+1 -1
View File
@@ -703,7 +703,7 @@ class spell_dk_pestilence : public SpellScript
float donePct = aurOld->GetDonePct();
float critChance = aurOld->GetCritChance();
if (AuraEffect* aurEffOld = aurOld->GetEffect(EFFECT_0))
if (aurOld->GetEffect(EFFECT_0))
{
caster->CastSpell(hitUnit, SPELL_DK_BLOOD_PLAGUE, true); // Spread the disease to hitUnit.