diff options
author | Maelthyr <100411212+Maelthyrr@users.noreply.github.com> | 2022-05-18 10:36:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-18 05:36:57 -0300 |
commit | c5368816fa676c1e2f76ca7bf37d2d6b6e2f6563 (patch) | |
tree | 6a55cb3ffa0065bbc2fec51d96ec4293e4e6ac29 /src/server/game/AI/CreatureAI.cpp | |
parent | 8c058791ed65ff55607eb1643b94ac69343c8834 (diff) |
Core/Combat: rename getThreatMgr() to GetThreatMgr() (#11758)
Diffstat (limited to 'src/server/game/AI/CreatureAI.cpp')
-rw-r--r-- | src/server/game/AI/CreatureAI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/CreatureAI.cpp b/src/server/game/AI/CreatureAI.cpp index 957154d0bf..91c2b1af37 100644 --- a/src/server/game/AI/CreatureAI.cpp +++ b/src/server/game/AI/CreatureAI.cpp @@ -283,7 +283,7 @@ bool CreatureAI::UpdateVictim() // xinef: if we have any victim, just return true else if (me->GetVictim() && me->GetExactDist(me->GetVictim()) < 30.0f) return true; - else if (me->getThreatMgr().isThreatListEmpty()) + else if (me->GetThreatMgr().isThreatListEmpty()) { EnterEvadeMode(); return false; |