From 164467d251db680747a62152186247112f327ce5 Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 12 Apr 2009 12:15:25 -0500 Subject: [PATCH] *Fix the bug that minipet does not follow owner. --HG-- branch : trunk --- src/game/MotionMaster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/MotionMaster.cpp b/src/game/MotionMaster.cpp index b299fbfd40..ee6cc05a5d 100644 --- a/src/game/MotionMaster.cpp +++ b/src/game/MotionMaster.cpp @@ -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) {