Entities/Player: Clean up client control handling behavior around possession. Mind Control should no longer cause various weirdness.

Port From (https://github.com/TrinityCore/TrinityCore/commit/bba4696de715b79b31e154d1a8e1597507812ece)
This commit is contained in:
hondacrx
2021-12-26 19:54:55 -05:00
parent 6d73a59f63
commit bddde92a0f
2 changed files with 22 additions and 8 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ namespace Game.Entities
UpdateSplineMovement(diff);
GetMotionMaster().Update(diff);
if (GetAI() == null && (!IsPlayer() || IsCharmed()))
if (GetAI() == null && (!IsPlayer() || (IsCharmed() && GetCharmerGUID().IsCreature())))
UpdateCharmAI();
RefreshAI();