Fixed possible crash

This commit is contained in:
tomrus88 2008-12-03 00:27:33 +03:00
parent fa13127cf8
commit a2503162fc
3 changed files with 12 additions and 22 deletions

View file

@ -17987,7 +17987,7 @@ void Player::SendAurasForTarget(Unit *target)
// level
data << uint8(aura->GetAuraLevel());
// charges
data << uint8(aura->m_procCharges);
data << uint8(aura->m_procCharges >= 0 ? aura->m_procCharges : 0 );
if(!(auraFlags & AFLAG_NOT_CASTER))
{