Core: Fix some warnings
This commit is contained in:
1 parent
a039086bca
commit
bd2728eb74
27 files changed
+62
-61
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user