From ef480fadad071060d4ae00288399502d53ff1af8 Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 15 Aug 2016 00:27:47 +0200 Subject: Warning fixes --- src/server/scripts/Spells/spell_item.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index b797d8689fb..9390939d119 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -2747,7 +2747,7 @@ public: return GetOwner()->GetTypeId() == TYPEID_PLAYER; } - void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& canBeRecalculated) + void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) { if (Item* artifact = GetOwner()->ToPlayer()->GetItemByGuid(GetAura()->GetCastItemGUID())) amount = GetSpellInfo()->GetEffect(EFFECT_1)->BasePoints * std::max(artifact->GetTotalPurchasedArtifactPowers(), 34u) / 100; @@ -2784,7 +2784,7 @@ public: return GetOwner()->GetTypeId() == TYPEID_PLAYER; } - void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& canBeRecalculated) + void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) { if (Item* artifact = GetOwner()->ToPlayer()->GetItemByGuid(GetAura()->GetCastItemGUID())) amount = GetSpellInfo()->GetEffect(EFFECT_1)->BasePoints * std::max(artifact->GetTotalPurchasedArtifactPowers(), 34u) / 100; -- cgit v1.2.3