diff options
author | megamage <none@none> | 2009-04-12 12:15:25 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-04-12 12:15:25 -0500 |
commit | 164467d251db680747a62152186247112f327ce5 (patch) | |
tree | be8747d26e6bc49e81496827da3d6e821a14d001 /src | |
parent | 9c29a7aafe4af02b7c581a73480abba9f2a5a7d0 (diff) |
*Fix the bug that minipet does not follow owner.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/MotionMaster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/MotionMaster.cpp b/src/game/MotionMaster.cpp index b299fbfd40a..ee6cc05a5d2 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) { |