From f59106d9c35b5f84c9586a85a81cc39b01248e02 Mon Sep 17 00:00:00 2001 From: maximius Date: Tue, 17 Nov 2009 23:30:08 -0800 Subject: *Clear reactives and pet auras on spec changes. --HG-- branch : trunk --- src/game/Player.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/game/Player.cpp') 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.. -- cgit v1.2.3