diff options
author | thenecromancer <none@none> | 2010-01-24 15:05:07 +0100 |
---|---|---|
committer | thenecromancer <none@none> | 2010-01-24 15:05:07 +0100 |
commit | 6c24f75524263ce525df2ac1215f6255718fd1a5 (patch) | |
tree | 690cb228ea636335dd2339377b767acd4c942191 /src/game/Unit.cpp | |
parent | efa55f457ff3bde9ac7d0f76c95e7b90e2aa9613 (diff) |
Fix some reactive/shapeshift based talents being active in spec they are not learned in
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 40b3e4f5e26..b16f7f7a9dc 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -9046,7 +9046,7 @@ void Unit::ModifyAuraState(AuraState flag, bool apply) PlayerSpellMap const& sp_list = ((Player*)this)->GetSpellMap(); for (PlayerSpellMap::const_iterator itr = sp_list.begin(); itr != sp_list.end(); ++itr) { - if (itr->second->state == PLAYERSPELL_REMOVED) continue; + if (itr->second->state == PLAYERSPELL_REMOVED || itr->second->disabled) continue; SpellEntry const *spellInfo = sSpellStore.LookupEntry(itr->first); if (!spellInfo || !IsPassiveSpell(itr->first)) continue; if (spellInfo->CasterAuraState == flag) |