Core/Protocol: Enable SMSG_THREAT_UPDATE

This commit is contained in:
kaelima
2012-01-26 15:45:09 +01:00
parent 9d9dc50b13
commit b62af27123
+2 -2
View File
@@ -17721,7 +17721,7 @@ void Unit::SendThreatListUpdate()
{
uint32 count = getThreatManager().getThreatList().size();
sLog->outDebug(LOG_FILTER_UNITS, "WORLD: Send SMSG_THREAT_UPDATE Message (disabled)");
sLog->outDebug(LOG_FILTER_UNITS, "WORLD: Send SMSG_THREAT_UPDATE Message");
WorldPacket data(SMSG_THREAT_UPDATE, 8 + count * 8);
data.append(GetPackGUID());
data << uint32(count);
@@ -17731,7 +17731,7 @@ void Unit::SendThreatListUpdate()
data.appendPackGUID((*itr)->getUnitGuid());
data << uint32((*itr)->getThreat() * 100);
}
//SendMessageToSet(&data, false);
SendMessageToSet(&data, false);
}
}