mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Core/Unit): Make players turn to their target during charm automatically (#23534)
This commit is contained in:
@@ -1968,10 +1968,7 @@ void Player::UpdateCharmedAI()
|
||||
|
||||
Unit* target = GetVictim();
|
||||
if (target)
|
||||
{
|
||||
SetInFront(target);
|
||||
SendMovementFlagUpdate(true);
|
||||
}
|
||||
|
||||
if (HasUnitState(UNIT_STATE_CASTING))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user