mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 14:16:31 +00:00
Core/Combat: rename getThreatMgr() to GetThreatMgr() (#11758)
This commit is contained in:
@@ -1158,7 +1158,7 @@ public:
|
||||
GetTarget()->SetUnitFlag(UNIT_FLAG_NOT_SELECTABLE);
|
||||
GetTarget()->ToCreature()->SetReactState(REACT_DEFENSIVE);
|
||||
GetTarget()->GetMotionMaster()->Clear();
|
||||
GetTarget()->getThreatMgr().clearReferences();
|
||||
GetTarget()->GetThreatMgr().clearReferences();
|
||||
GetTarget()->RemoveAllAttackers();
|
||||
GetTarget()->AttackStop();
|
||||
}
|
||||
@@ -1168,7 +1168,7 @@ public:
|
||||
GetTarget()->RemoveUnitFlag(UNIT_FLAG_NOT_SELECTABLE);
|
||||
GetTarget()->ToCreature()->SetReactState(REACT_DEFENSIVE);
|
||||
GetTarget()->GetMotionMaster()->Clear();
|
||||
GetTarget()->getThreatMgr().clearReferences();
|
||||
GetTarget()->GetThreatMgr().clearReferences();
|
||||
GetTarget()->RemoveAllAttackers();
|
||||
GetTarget()->AttackStop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user