*Cleanup about deleting player.
--HG-- branch : trunk
This commit is contained in:
1 parent
4ecbefabfa
commit
31374835f6
4 files changed
+6
-20
No files matched your search
+1
-4
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user