aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/AI/CreatureAI.cpp
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2019-07-02 09:52:58 +0200
committerTreeston <treeston.mmoc@gmail.com>2019-07-02 11:58:12 +0200
commitf6f1c48aa592ea10c99fd23f46e94934b2f0cef2 (patch)
treefba3132ef23a977a3f1952e07f0722c25355f9dd /src/server/game/AI/CreatureAI.cpp
parenta8b8a43b8d86f0039f4b4ac2c251d55ba3b6a4ed (diff)
Entities/Player: Clean up client control handling behavior around possession. Mind Control should no longer cause various weirdness. Closes #23539.
Diffstat (limited to 'src/server/game/AI/CreatureAI.cpp')
-rw-r--r--src/server/game/AI/CreatureAI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/CreatureAI.cpp b/src/server/game/AI/CreatureAI.cpp
index ca4d7460f01..784cf560592 100644
--- a/src/server/game/AI/CreatureAI.cpp
+++ b/src/server/game/AI/CreatureAI.cpp
@@ -152,7 +152,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