Skip to content

Commit

Permalink
Fix warning.
Browse files Browse the repository at this point in the history
(cherry picked from commit f0b9ee1)
  • Loading branch information
Treeston authored and Shauren committed Apr 2, 2016
1 parent ddb0bc7 commit 9f237e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/Entities/Unit/Unit.cpp
Expand Up @@ -1639,7 +1639,7 @@ void Unit::CalcAbsorbResist(Unit* victim, SpellSchoolMask schoolMask, DamageEffe

RoundToInterval(auraAbsorbMod, 0.0f, 100.0f);

uint32 absorbIgnoringDamage = CalculatePct(dmgInfo.GetDamage(), auraAbsorbMod);
int32 absorbIgnoringDamage = CalculatePct(dmgInfo.GetDamage(), auraAbsorbMod);
dmgInfo.ModifyDamage(-absorbIgnoringDamage);

// We're going to call functions which can modify content of the list during iteration over it's elements
Expand Down

0 comments on commit 9f237e7

Please sign in to comment.