*Clear reactives and pet auras on spec changes.

--HG--
branch : trunk
This commit is contained in:
maximius
2009-11-17 23:30:08 -08:00
parent 9eae529293
commit f59106d9c3
2 changed files with 7 additions and 3 deletions
+4
View File
@@ -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..