*Fix the bug that minipet does not follow owner.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-12 12:15:25 -05:00
parent 9c29a7aafe
commit 164467d251
+1 -1
View File
@@ -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)
{