Core/Pets: Charmed units will properly return near owner after target death (#31748)
(cherry picked from commit e9ddd94992d83a7e552a3550819a68d5f3cc451a)
This commit is contained in:
@@ -355,7 +355,7 @@ void PetAI::HandleReturnMovement()
|
|||||||
|
|
||||||
// Prevent activating movement when under control of spells
|
// Prevent activating movement when under control of spells
|
||||||
// such as "Eyes of the Beast"
|
// such as "Eyes of the Beast"
|
||||||
if (me->IsCharmed())
|
if (me->isPossessed())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!me->GetCharmInfo())
|
if (!me->GetCharmInfo())
|
||||||
|
|||||||
Reference in New Issue
Block a user