aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellMgr.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-04-29 20:33:49 +0200
committerQAston <none@none>2009-04-29 20:33:49 +0200
commit3e45bb2bfb304fb304aa0d48d125c79ea8ffdfa2 (patch)
tree92150f0d7c7cf3a228b5c65441da6f77b44cab55 /src/game/SpellMgr.cpp
parent40ba1b7030c0614a8cad8bdce8e9f51d5282a314 (diff)
*Fix Blessing of Sanctuary
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellMgr.cpp')
-rw-r--r--src/game/SpellMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index da1ddc9c3e7..5c754c651d6 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -2557,7 +2557,7 @@ void SpellMgr::LoadPetLevelupSpellMap()
if(!spell || !spell->spellLevel || GetTalentSpellPos(spell->Id))
continue;
// TODO: some spells have no spellfamilyflag but should be learned
- if (!spell->SpellFamilyFlags)
+ if (!spell->SpellFamilyName)
continue;
mPetLevelupSpellMap.insert(PetLevelupSpellMap::value_type(creatureFamily->ID, std::make_pair(spell->spellLevel , spell->Id )));
count++;