*Disable changing specs in Battlegrounds unless you have Preparation buff.

--HG--
branch : trunk
This commit is contained in:
maximius
2009-08-29 13:35:41 -07:00
parent 927b96ed90
commit 202cb07f63
+3
View File
@@ -21873,6 +21873,9 @@ void Player::ActivateSpec(uint8 spec)
if(GetSpecsCount() != MAX_TALENT_SPECS)
return;
if(GetMap()->IsBattleGround() && !HasAura(45521)) // In BattleGround with no Preparation buff
return;
_SaveActions();
UnsummonPetTemporaryIfAny();