Core/Misc: Tweaked ThreatContainer internals
(and many cosmetic changes here and there)
This commit is contained in:
@@ -798,8 +798,8 @@ public:
|
||||
if (!target || target->isTotem() || target->isPet())
|
||||
return false;
|
||||
|
||||
std::list<HostileReference*>& threatList = target->getThreatManager().getThreatList();
|
||||
std::list<HostileReference*>::iterator itr;
|
||||
ThreatContainer::StorageType const &threatList = target->getThreatManager().getThreatList();
|
||||
ThreatContainer::StorageType::const_iterator itr;
|
||||
uint32 count = 0;
|
||||
handler->PSendSysMessage("Threat list of %s (guid %u)", target->GetName().c_str(), target->GetGUIDLow());
|
||||
for (itr = threatList.begin(); itr != threatList.end(); ++itr)
|
||||
|
||||
Reference in New Issue
Block a user