Core/Player: Pets are unsummoned after spec switch. Fixes #180
This commit is contained in:
@@ -24064,7 +24064,10 @@ void Player::ActivateSpec(uint8 spec)
|
||||
_SaveActions(trans);
|
||||
CharacterDatabase.CommitTransaction(trans);
|
||||
|
||||
UnsummonPetTemporaryIfAny();
|
||||
// TO-DO: We need more research to know what happens with warlock's reagent
|
||||
if (Pet* pet = GetPet())
|
||||
RemovePet(pet, PET_SAVE_NOT_IN_SLOT);
|
||||
|
||||
ClearComboPointHolders();
|
||||
ClearAllReactives();
|
||||
UnsummonAllTotems();
|
||||
@@ -24179,10 +24182,6 @@ void Player::ActivateSpec(uint8 spec)
|
||||
_LoadActions(result);
|
||||
}
|
||||
|
||||
ResummonPetTemporaryUnSummonedIfAny();
|
||||
if (Pet* pPet = GetPet())
|
||||
pPet->InitTalentForLevel(); // not processed with aura removal because pet was not active
|
||||
|
||||
SendActionButtons(1);
|
||||
|
||||
Powers pw = getPowerType();
|
||||
|
||||
Reference in New Issue
Block a user