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
View File
@@ -1648,8 +1648,6 @@ void Unit::CalcAbsorbResist(Unit *pVictim, SpellSchoolMask schoolMask, DamageEff
if (!(absorbAurEff->GetMiscValue() & schoolMask))
continue;
SpellEntry const * spellProto = absorbAurEff->GetSpellProto();
// get amount which can be still absorbed by the aura
int32 currentAbsorb = absorbAurEff->GetAmount();
// aura with infinite absorb amount - let the scripts handle absorbtion amount, set here to 0 for safety