diff options
author | Treeston <treeston.mmoc@gmail.com> | 2019-07-02 09:52:58 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-13 23:44:13 +0100 |
commit | bba4696de715b79b31e154d1a8e1597507812ece (patch) | |
tree | 834f6ce10e8beb23560940ec09031629d38c196d /src/server/game/AI/CreatureAI.cpp | |
parent | e01f3c81f9537f3ffb5f7d45e5063413885b15f2 (diff) |
Entities/Player: Clean up client control handling behavior around possession. Mind Control should no longer cause various weirdness. Closes #23539.
(cherry picked from commit f6f1c48aa592ea10c99fd23f46e94934b2f0cef2)
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 b23a7284da1..e1d53238c89 100644 --- a/src/server/game/AI/CreatureAI.cpp +++ b/src/server/game/AI/CreatureAI.cpp @@ -159,7 +159,7 @@ void CreatureAI::TriggerAlert(Unit const* who) const me->GetMotionMaster()->MoveDistract(5 * IN_MILLISECONDS, me->GetAbsoluteAngle(who)); } -// adapted from logic in Spell:EffectSummonType +// adapted from logic in Spell:EffectSummonType before commit 8499434 static bool ShouldFollowOnSpawn(SummonPropertiesEntry const* properties) { // Summons without SummonProperties are generally scripted summons that don't belong to any owner |