diff options
author | megamage <none@none> | 2009-03-27 22:47:28 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-27 22:47:28 -0600 |
commit | ff83e4a9b13594be4a682da535c9522c9f9de186 (patch) | |
tree | b948e5d4508f23b9c99335d4a92475d9d1f6aea1 /src/game/BattleGround.cpp | |
parent | d0a58f705f34a6831a242977b0059a03dba8b5a6 (diff) |
*Fix some bugs of pet.
--HG--
branch : trunk
Diffstat (limited to 'src/game/BattleGround.cpp')
-rw-r--r-- | src/game/BattleGround.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/BattleGround.cpp b/src/game/BattleGround.cpp index 004a3bfd730..4dbd1ae5a3b 100644 --- a/src/game/BattleGround.cpp +++ b/src/game/BattleGround.cpp @@ -955,7 +955,7 @@ void BattleGround::RemovePlayerAtLeave(uint64 guid, bool Transport, bool SendPac bgTypeId=BATTLEGROUND_AA; // set the bg type to all arenas (it will be used for queue refreshing) // summon old pet if there was one and there isn't a current pet - if(!plr->GetPet() && plr->GetTemporaryUnsummonedPetNumber()) + if(!plr->GetGuardianPet() && plr->GetTemporaryUnsummonedPetNumber()) { Pet* NewPet = new Pet(plr); if(!NewPet->LoadPetFromDB(plr, 0, (plr)->GetTemporaryUnsummonedPetNumber(), true)) |