From b858dd535a67cda80ac8adb91dadedfb70e0628a Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 3 Apr 2009 18:22:46 -0600 Subject: *Fix the bug that pet cannot be put in stable. --HG-- branch : trunk --- src/game/Pet.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/game/Pet.cpp') diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp index b33f948092b..8987939fc4b 100644 --- a/src/game/Pet.cpp +++ b/src/game/Pet.cpp @@ -345,6 +345,8 @@ void Pet::SavePetToDB(PetSaveMode mode) switch(mode) { + case PET_SAVE_IN_STABLE_SLOT_1: + case PET_SAVE_IN_STABLE_SLOT_2: case PET_SAVE_NOT_IN_SLOT: { RemoveAllAuras(); @@ -364,6 +366,8 @@ void Pet::SavePetToDB(PetSaveMode mode) switch(mode) { case PET_SAVE_AS_CURRENT: + case PET_SAVE_IN_STABLE_SLOT_1: + case PET_SAVE_IN_STABLE_SLOT_2: case PET_SAVE_NOT_IN_SLOT: { uint32 owner = GUID_LOPART(GetOwnerGUID()); -- cgit v1.2.3