Core/Unit: Threat values sent to the client should be multiplied by 100, as pointed out by Aokromes.

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-11-09 11:17:33 +01:00
parent ddc812163a
commit 36b40511ac
+1 -1
View File
@@ -16833,7 +16833,7 @@ void Unit::SendThreatListUpdate()
for (std::list<HostileReference*>::const_iterator itr = tlist.begin(); itr != tlist.end(); ++itr)
{
data.appendPackGUID((*itr)->getUnitGuid());
data << uint32((*itr)->getThreat());
data << uint32((*itr)->getThreat()*100);
}
SendMessageToSet(&data, false);
}