[11632] Revert part of 11631

This commit is contained in:
zergtmn 2011-06-17 16:27:00 +06:00
parent 10865b633f
commit 54f623d2b8
3 changed files with 11 additions and 3 deletions

View file

@ -1324,7 +1324,11 @@ void Pet::_LoadAuras(uint32 timediff)
if (spellproto->procCharges == 0)
remaincharges = 0;
if (stackcount == 0)
if (!spellproto->StackAmount)
stackcount = 1;
else if (spellproto->StackAmount < stackcount)
stackcount = spellproto->StackAmount;
else if (!stackcount)
stackcount = 1;
SpellAuraHolder *holder = CreateSpellAuraHolder(spellproto, this, NULL);