* Fix the bug that hunter pets are gone forever after switching specs.

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2009-08-23 17:10:18 +02:00
parent eb14781321
commit d132f7e401
+4 -1
View File
@@ -21853,6 +21853,8 @@ void Player::ActivateSpec(uint8 spec)
_SaveActions();
UnsummonPetTemporaryIfAny();
uint32 const* talentTabIds = GetTalentTabPages(getClass());
for(uint8 i = 0; i < 3; ++i)
@@ -21948,7 +21950,8 @@ void Player::ActivateSpec(uint8 spec)
{
_LoadActions(result, false);
}
UnsummonPetTemporaryIfAny();
ResummonPetTemporaryUnSummonedIfAny();
SendActionButtons(1);
Powers pw = getPowerType();