Core: Fix some warnings

This commit is contained in:
Spp committed 2011-01-11 11:18:00 +01:00
1 parent a039086bca
commit bd2728eb74
27 files changed
+62 -61

No files matched your search

+2 -2
View File
@@ -59,13 +59,13 @@ public:
return true;
}
void CalculateAmount(AuraEffect const * /*aurEff*/, int32 & amount, bool & canBeRecalculated)
void CalculateAmount(AuraEffect const * /*aurEff*/, int32 & amount, bool & /*canBeRecalculated*/)
{
// Set absorbtion amount to unlimited
amount = -1;
}
void Absorb(AuraEffect * aurEff, DamageInfo & dmgInfo, uint32 & absorbAmount)
void Absorb(AuraEffect * /*aurEff*/, DamageInfo & dmgInfo, uint32 & absorbAmount)
{
Unit * target = GetTarget();
if (dmgInfo.GetDamage() < target->GetHealth())