*Small code cleanup, try to fix crash.

--HG--
branch : trunk
This commit is contained in:
QAston committed 2009-02-11 15:04:27 +01:00
1 parent 8a8e39a571
commit 8012f78d00
3 files changed
+11 -18

No files matched your search

+1 -1
View File
@@ -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);