*Small code cleanup, try to fix crash.
--HG-- branch : trunk
This commit is contained in:
1 parent
8a8e39a571
commit
8012f78d00
3 files changed
+11
-18
No files matched your search
+1
-1
@@ -18940,7 +18940,7 @@ void Player::learnSkillRewardedSpells(uint32 skill_id, uint32 skill_value )
|
||||
|
||||
void Player::SendAurasForTarget(Unit *target)
|
||||
{
|
||||
if(target->GetVisibleAuras()->empty()) // speedup things
|
||||
if(!target || target->GetVisibleAuras()->empty()) // speedup things
|
||||
return;
|
||||
|
||||
WorldPacket data(SMSG_AURA_UPDATE_ALL);
|
||||
|
||||
Reference in new issue
Block a user