[10484] Use for auraholde/aura GetStackAmount uint32 result.

uint32 result used in most expressions for stack calculation/compare
Alos uint8implicitly casted to int by C++ in expressions that generate unexpected
signed/unsigned warnings in comparisons (uint8 +1) > uint32 and similar.
This commit is contained in:
VladimirMangos 2010-09-14 21:26:24 +04:00
parent a3e62d43b0
commit f0956e258c
5 changed files with 14 additions and 14 deletions

View file

@ -1691,7 +1691,7 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
if (Aura* pAura = m_caster->GetAura(spellShrink, EFFECT_INDEX_0))
{
uint8 stackNum = pAura->GetStackAmount();
uint32 stackNum = pAura->GetStackAmount();
// chance to become pygmified (5, 10, 15 etc)
if (roll_chance_i(stackNum*5))