*Fix the bug that minipet does not follow owner.
--HG-- branch : trunk
This commit is contained in:
@@ -208,7 +208,7 @@ MotionMaster::MoveTargetedHome()
|
||||
DEBUG_LOG("Pet or controlled unit (Entry: %u GUID: %u) targeting home",
|
||||
i_owner->GetEntry(), i_owner->GetGUIDLow() );
|
||||
|
||||
MoveFollow(i_owner, PET_FOLLOW_DIST, PET_FOLLOW_ANGLE, MOTION_SLOT_IDLE);
|
||||
MoveFollow(target, PET_FOLLOW_DIST, PET_FOLLOW_ANGLE, MOTION_SLOT_IDLE);
|
||||
}
|
||||
else if(i_owner->GetTypeId() == TYPEID_UNIT)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user