diff options
author | QAston <none@none> | 2009-06-12 15:32:33 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-06-12 15:32:33 +0200 |
commit | fef7cdb51b2297bba3fd64f2b80385ca2c3d8a84 (patch) | |
tree | 91e5e2e7375d7c9a7b450613ae427309c4865803 /src/game/DBCStores.cpp | |
parent | 7bf2c61c41c34a1c71c12baa105a727a5c035bce (diff) |
*Fix the bug that Felguard was not able to learn Demonic Frenzy.
--HG--
branch : trunk
Diffstat (limited to 'src/game/DBCStores.cpp')
-rw-r--r-- | src/game/DBCStores.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/DBCStores.cpp b/src/game/DBCStores.cpp index 639489b1173..4b11346f4b2 100644 --- a/src/game/DBCStores.cpp +++ b/src/game/DBCStores.cpp @@ -23,6 +23,7 @@ #include "Log.h" #include "ProgressBar.h" #include "SharedDefines.h" +#include "SpellMgr.h" #include "DBCfmt.h" @@ -339,7 +340,7 @@ void LoadDBCStores(const std::string& dataPath) SpellEntry const* spellInfo = sSpellStore.LookupEntry(skillLine->spellId); - if(spellInfo && (spellInfo->Attributes & 0x1D0) == 0x1D0) + if(spellInfo && IsPassiveSpell(spellInfo->Id)) { for (uint32 i = 1; i < sCreatureFamilyStore.GetNumRows(); ++i) { |