*Fix the bug that pet cannot be put in stable.
--HG-- branch : trunk
This commit is contained in:
1 parent
837e15405d
commit
b858dd535a
2 files changed
+6
No files matched your search
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user