mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
Fixed possible crash
This commit is contained in:
parent
fa13127cf8
commit
a2503162fc
3 changed files with 12 additions and 22 deletions
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue