aboutsummaryrefslogtreecommitdiff
path: root/src/game/DBCStores.cpp
diff options
context:
space:
mode:
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);
}