aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2022-01-13 00:07:08 +0100
committerShauren <shauren.trinity@gmail.com>2022-01-13 00:07:08 +0100
commitc5727921b994f96582e4ae0157b637f622745716 (patch)
treea52544ed000e11ed925fcde1794022ee9ac5d9c3 /src
parentd6c43b3d63b4ef601223b2a3efefc481c75c23bc (diff)
Warning fix
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_mage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_mage.cpp b/src/server/scripts/Spells/spell_mage.cpp
index 848e72d7d27..eca01313d1d 100644
--- a/src/server/scripts/Spells/spell_mage.cpp
+++ b/src/server/scripts/Spells/spell_mage.cpp
@@ -551,7 +551,7 @@ class spell_mage_firestarter_dots : public AuraScript
return ValidateSpellInfo({ SPELL_MAGE_FIRESTARTER });
}
- void CalcCritChance(AuraEffect const* aurEff, Unit const* victim, float& critChance)
+ void CalcCritChance(AuraEffect const* /*aurEff*/, Unit const* victim, float& critChance)
{
if (AuraEffect const* aurEff = GetCaster()->GetAuraEffect(SPELL_MAGE_FIRESTARTER, EFFECT_0))
if (victim->GetHealthPct() >= aurEff->GetAmount())