Core/MovementHandler: small cleanup

disabled SMSG_THREAT_UPDATE for now (client crash issue)
This commit is contained in:
Rat committed 2012-01-10 19:31:34 +01:00
1 parent 2cc092b9e3
commit c33475c6a8
2 files changed
+6 -7

No files matched your search

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