From 31374835f6d4ef983d75af1209125d9db08442af Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 10 Aug 2009 23:32:20 -0500 Subject: *Cleanup about deleting player. --HG-- branch : trunk --- src/game/Unit.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/game/Unit.cpp') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index cf6b8a577c3..645c1556861 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -12393,10 +12393,7 @@ void Unit::RemoveFromWorld() RemoveAllControlled(); if(m_NotifyListPos >= 0) - { GetMap()->RemoveUnitFromNotify(this, m_NotifyListPos); - m_NotifyListPos = -1; - } if(GetCharmerGUID()) { @@ -15186,7 +15183,7 @@ void Unit::SendThreatListUpdate() { if (uint32 count = getThreatManager().getThreatList().size()) { - sLog.outDebug( "WORLD: Send SMSG_THREAT_UPDATE Message" ); + //sLog.outDebug( "WORLD: Send SMSG_THREAT_UPDATE Message" ); WorldPacket data(SMSG_THREAT_UPDATE, 8 + count * 8); data.append(GetPackGUID()); data << uint32(count); -- cgit v1.2.3