mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-25 13:05:54 +00:00
refactor(Core/Combat): Code style and improvement of ThreatMgr (#12992)
This commit is contained in:
@@ -325,7 +325,7 @@ public:
|
||||
return;
|
||||
|
||||
// Now lets get archimode threat list
|
||||
ThreatContainer::StorageType const& t_list = me->GetThreatMgr().getThreatList();
|
||||
ThreatContainer::StorageType const& t_list = me->GetThreatMgr().GetThreatList();
|
||||
|
||||
if (t_list.empty())
|
||||
return;
|
||||
@@ -435,7 +435,7 @@ public:
|
||||
if (victim && me->IsWithinMeleeRange(victim))
|
||||
return false;
|
||||
|
||||
ThreatContainer::StorageType const& threatlist = me->GetThreatMgr().getThreatList();
|
||||
ThreatContainer::StorageType const& threatlist = me->GetThreatMgr().GetThreatList();
|
||||
if (threatlist.empty())
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user