From 675cac9a6bfb2f64eca38152e6f4fb5ec79701e8 Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 24 Aug 2009 12:05:50 -0500 Subject: *Remove log spams when ghoul is summoned. --HG-- branch : trunk --- src/game/Pet.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/game') diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp index 0b7deb3f5f5..3d7f56e5d9f 100644 --- a/src/game/Pet.cpp +++ b/src/game/Pet.cpp @@ -227,7 +227,9 @@ bool Pet::LoadPetFromDB( Player* owner, uint32 petentry, uint32 petnumber, bool setPowerType(POWER_FOCUS); break; default: - sLog.outError("Pet have incorrect type (%u) for pet loading.", getPetType()); + if(!IsPetGhoul()) + sLog.outError("Pet have incorrect type (%u) for pet loading.", getPetType()); + break; } SetUInt32Value(UNIT_FIELD_PET_NAME_TIMESTAMP, time(NULL)); -- cgit v1.2.3