Changeset 174 for trunk/src/game/Pet.cpp
- Timestamp:
- 11/19/08 13:43:15 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Pet.cpp
r152 r174 549 549 // unsummon pet that lost owner 550 550 Unit* owner = GetOwner(); 551 if(!owner || !IsWithinDistInMap(owner, OWNER_MAX_DISTANCE) || isControlled() && !owner->GetPetGUID())551 if(!owner || (!IsWithinDistInMap(owner, OWNER_MAX_DISTANCE) && !isPossessed()) || isControlled() && !owner->GetPetGUID()) 552 552 { 553 553 Remove(PET_SAVE_NOT_IN_SLOT, true);