aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index fc8e97b8505..c93047b3f84 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -21993,9 +21993,13 @@ void Player::ActivateSpec(uint8 spec)
UnsummonPetTemporaryIfAny();
ClearComboPointHolders();
+ ClearAllReactives();
UnsummonAllTotems();
RemoveAllControlled();
RemoveAllAurasOnDeath();
+ if (GetPet())
+ GetPet()->RemoveAllAurasOnDeath();
+
//RemoveAllAuras(this->GetGUID(), NULL, false, true); // removes too many auras
//ExitVehicle(); // should be impossible to switch specs from inside a vehicle..