Core/MovementHandler: small cleanup
disabled SMSG_THREAT_UPDATE for now (client crash issue)
This commit is contained in:
1 parent
2cc092b9e3
commit
c33475c6a8
2 files changed
+6
-7
No files matched your search
@@ -17334,7 +17334,7 @@ void Unit::SendThreatListUpdate()
|
||||
{
|
||||
uint32 count = getThreatManager().getThreatList().size();
|
||||
|
||||
//sLog->outDebug(LOG_FILTER_UNITS, "WORLD: Send SMSG_THREAT_UPDATE Message");
|
||||
sLog->outDebug(LOG_FILTER_UNITS, "WORLD: Send SMSG_THREAT_UPDATE Message (disabled)");
|
||||
WorldPacket data(SMSG_THREAT_UPDATE, 8 + count * 8);
|
||||
data.append(GetPackGUID());
|
||||
data << uint32(count);
|
||||
@@ -17344,7 +17344,7 @@ void Unit::SendThreatListUpdate()
|
||||
data.appendPackGUID((*itr)->getUnitGuid());
|
||||
data << uint32((*itr)->getThreat() * 100);
|
||||
}
|
||||
SendMessageToSet(&data, false);
|
||||
//SendMessageToSet(&data, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user