Core/Pet: correct pet loading - summoning
This commit is contained in:
parent
d538b86a47
commit
6f933d1385
1 changed files with 1 additions and 1 deletions
|
|
@ -1964,7 +1964,7 @@ class spell_gen_pet_summoned : public SpellScriptLoader
|
|||
{
|
||||
Player* player = GetCaster()->ToPlayer();
|
||||
if (player->GetLastPetNumber() && player->CanResummonPet(player->GetLastPetSpell()))
|
||||
Pet::LoadPetFromDB(player, PET_LOAD_BG_RESURRECT, 0, player->GetLastPetNumber(), true);
|
||||
Pet::LoadPetFromDB(player, PET_LOAD_SUMMON_PET, 0, player->GetLastPetNumber(), true);
|
||||
}
|
||||
|
||||
void Register()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue