Skip to content

Commit e9ddd94

Browse files
authored
Core/Pets: Charmed units will properly return near owner after target death (#31748)
1 parent 73d1ea3 commit e9ddd94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/server/game/AI/CoreAI/PetAI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ void PetAI::HandleReturnMovement()
363363

364364
// Prevent activating movement when under control of spells
365365
// such as "Eyes of the Beast"
366-
if (me->IsCharmed())
366+
if (me->isPossessed())
367367
return;
368368

369369
if (!me->GetCharmInfo())

0 commit comments

Comments
 (0)