From bba4696de715b79b31e154d1a8e1597507812ece Mon Sep 17 00:00:00 2001 From: Treeston Date: Tue, 2 Jul 2019 09:52:58 +0200 Subject: 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) --- src/server/game/AI/CreatureAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/game/AI/CreatureAI.cpp') 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 -- cgit v1.2.3