mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-15 20:52:22 -04:00
*Fix a crash in 4181. sorry
--HG-- branch : trunk
This commit is contained in:
@@ -16694,10 +16694,12 @@ void Player::RemovePet(Pet* pet, PetSaveMode mode, bool returnreagent)
|
||||
pet = GetPet();
|
||||
|
||||
if(pet)
|
||||
{
|
||||
sLog.outDebug("RemovePet %u, %u, %u", pet->GetEntry(), mode, returnreagent);
|
||||
|
||||
if(pet->m_removed)
|
||||
return;
|
||||
if(pet->m_removed)
|
||||
return;
|
||||
}
|
||||
|
||||
if(returnreagent && (pet || m_temporaryUnsummonedPetNumber))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user