summaryrefslogtreecommitdiff
path: root/src/server/scripts/Commands
diff options
context:
space:
mode:
authorMaelthyr <100411212+Maelthyrr@users.noreply.github.com>2022-05-18 10:36:57 +0200
committerGitHub <noreply@github.com>2022-05-18 05:36:57 -0300
commitc5368816fa676c1e2f76ca7bf37d2d6b6e2f6563 (patch)
tree6a55cb3ffa0065bbc2fec51d96ec4293e4e6ac29 /src/server/scripts/Commands
parent8c058791ed65ff55607eb1643b94ac69343c8834 (diff)
Core/Combat: rename getThreatMgr() to GetThreatMgr() (#11758)
Diffstat (limited to 'src/server/scripts/Commands')
-rw-r--r--src/server/scripts/Commands/cs_debug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Commands/cs_debug.cpp b/src/server/scripts/Commands/cs_debug.cpp
index 905bd6a2c4..a5cf1b9fa6 100644
--- a/src/server/scripts/Commands/cs_debug.cpp
+++ b/src/server/scripts/Commands/cs_debug.cpp
@@ -783,7 +783,7 @@ public:
if (!target || target->IsTotem() || target->IsPet())
return false;
- auto const& threatList = target->getThreatMgr().getThreatList();
+ auto const& threatList = target->GetThreatMgr().getThreatList();
ThreatContainer::StorageType::const_iterator itr;
uint32 count = 0;
@@ -801,7 +801,7 @@ public:
handler->PSendSysMessage(" %u. %s (%s) - threat %f", ++count, unit->GetName().c_str(), unit->GetGUID().ToString().c_str(), (*itr)->getThreat());
}
- auto const& threatList2 = target->getThreatMgr().getOfflineThreatList();
+ auto const& threatList2 = target->GetThreatMgr().getOfflineThreatList();
for (itr = threatList2.begin(); itr != threatList2.end(); ++itr)
{
Unit* unit = (*itr)->getTarget();