mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-21 07:22:02 -04:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user