Update src/server/game/Handlers/PetHandler.cpp
This commit is contained in:
@@ -155,7 +155,7 @@ void WorldSession::HandlePetActionHelper(Unit* pet, uint64 guid1, uint16 spellid
|
|||||||
case COMMAND_STAY: //flat=1792 //STAY
|
case COMMAND_STAY: //flat=1792 //STAY
|
||||||
pet->AttackStop();
|
pet->AttackStop();
|
||||||
pet->InterruptNonMeleeSpells(false);
|
pet->InterruptNonMeleeSpells(false);
|
||||||
StopMoving();
|
pet->StopMoving();
|
||||||
pet->GetMotionMaster()->Clear(false);
|
pet->GetMotionMaster()->Clear(false);
|
||||||
pet->GetMotionMaster()->MoveIdle();
|
pet->GetMotionMaster()->MoveIdle();
|
||||||
charmInfo->SetCommandState(COMMAND_STAY);
|
charmInfo->SetCommandState(COMMAND_STAY);
|
||||||
|
|||||||
Reference in New Issue
Block a user