aboutsummaryrefslogtreecommitdiff
path: root/src/game/Pet.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-31 14:08:38 -0600
committermegamage <none@none>2009-03-31 14:08:38 -0600
commitb51cea6ce48295c3ebea9b2340d76a4ab147a6e5 (patch)
tree890561d68855a87936d8b4c8a0de6b4c0e20e8bc /src/game/Pet.cpp
parent1fe8050b09d2d522ded639d4dacb2f354603b596 (diff)
*Remove some code which may cause crash.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Pet.cpp')
-rw-r--r--src/game/Pet.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp
index 74dba64bd1c..58ed8d678e4 100644
--- a/src/game/Pet.cpp
+++ b/src/game/Pet.cpp
@@ -349,8 +349,6 @@ 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();
@@ -370,8 +368,6 @@ 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());