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

(cherry picked from commit f6f1c48aa5)
This commit is contained in:
Treeston
2019-07-02 09:52:58 +02:00
committed by Shauren
parent e01f3c81f9
commit bba4696de7
4 changed files with 24 additions and 11 deletions
+1 -1
View File
@@ -478,7 +478,7 @@ void Unit::Update(uint32 p_time)
UpdateSplineMovement(p_time);
i_motionMaster->Update(p_time);
if (!GetAI() && (GetTypeId() != TYPEID_PLAYER || IsCharmed()))
if (!GetAI() && (GetTypeId() != TYPEID_PLAYER || (IsCharmed() && GetCharmerGUID().IsCreature())))
UpdateCharmAI();
RefreshAI();
}