aboutsummaryrefslogtreecommitdiff
path: root/src/game/DBCStores.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-05-02 16:08:52 +0200
committerQAston <none@none>2009-05-02 16:08:52 +0200
commita1f73a8a0801f217df5fe56cbe7051cd029b5f77 (patch)
treecf5bf9dbadea9a715851409b66f7dc7b09e4bd29 /src/game/DBCStores.cpp
parent8accbc0d09a1efa27a500b2d6a8b9e76ef74c431 (diff)
*More correct handling of fly mod auras.
*Pets now learn all levelup spells. *Fix lightning overload. --HG-- branch : trunk
Diffstat (limited to 'src/game/DBCStores.cpp')
-rw-r--r--src/game/DBCStores.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/DBCStores.cpp b/src/game/DBCStores.cpp
index 92c0a28cff4..2c7c15d1796 100644
--- a/src/game/DBCStores.cpp
+++ b/src/game/DBCStores.cpp
@@ -337,9 +337,8 @@ void LoadDBCStores(const std::string& dataPath)
if(spellInfo->spellLevel)
continue;
- // Passive spell has to have spellfamilyflags if name present (need to not apply 20782)
- //if (spellInfo->Attributes & SPELL_ATTR_UNK18 && spellInfo->SpellFamilyName && !spellInfo->SpellFamilyFlags)
- // continue;
+ if(skillLine->learnOnGetSkill != ABILITY_LEARNED_ON_GET_RACE_OR_CLASS_SKILL)
+ continue;
sPetFamilySpellsStore[i].insert(spellInfo->Id);
}