diff options
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 1b885c99874..51a68dec66d 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -16493,8 +16493,9 @@ Pet* Player::GetPet() const if(Pet* pet = ObjectAccessor::GetPet(pet_guid)) return pet; - sLog.outError("Player::GetPet: Pet %u not exist.",GUID_LOPART(pet_guid)); - const_cast<Player*>(this)->SetPetGUID(0); + //there may be a guardian in slot + //sLog.outError("Player::GetPet: Pet %u not exist.",GUID_LOPART(pet_guid)); + //const_cast<Player*>(this)->SetPetGUID(0); } return NULL; |