[12758] Hunter pet's will now properly follow stay commands.

This commit is contained in:
sanctum32 2013-12-29 23:40:12 +02:00 committed by Antz
parent ab98672241
commit 447fae9e66
3 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit d6f85bdd312ca4704c7ad45dd35ebecfef54c313
Subproject commit c0b82a9b0637a9f510c0164df3c6173420ef73b9

View file

@ -88,6 +88,7 @@ void WorldSession::HandlePetAction(WorldPacket& recv_data)
switch (spellid)
{
case COMMAND_STAY: // flat=1792 // STAY
pet->clearUnitState(UNIT_STAT_MOVING);
pet->StopMoving();
pet->GetMotionMaster()->Clear(false);
pet->GetMotionMaster()->MoveIdle();

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12757"
#define REVISION_NR "12758"
#endif // __REVISION_NR_H__