diff options
| author | Machiavelli <none@none> | 2009-08-23 17:10:18 +0200 |
|---|---|---|
| committer | Machiavelli <none@none> | 2009-08-23 17:10:18 +0200 |
| commit | d132f7e401ecfc032b33405f6b247807a0754133 (patch) | |
| tree | ac80a92d1347f3c9dd0d6056a52d691ba344a3f2 /src | |
| parent | eb14781321f509ff32a733c2521a78641f16287d (diff) | |
* Fix the bug that hunter pets are gone forever after switching specs.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/Player.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 35cfe584199..b21276c2e51 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -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(); |
