*Fix compile.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-04-19 17:29:17 +02:00
parent cfabdd2fd2
commit a23df5a270
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2534,7 +2534,7 @@ void SpellMgr::LoadPetLevelupSpellMap()
continue; continue;
SpellEntry const *spell = sSpellStore.LookupEntry(skillLine->spellId); SpellEntry const *spell = sSpellStore.LookupEntry(skillLine->spellId);
// not exist or passive (passives are handled elsewhere) // not exist or passive (passives are handled elsewhere)
if(!spell || IsPassiveSpell(spell)) if(!spell || IsPassiveSpell(spell->Id))
continue; continue;
// Make sure that triggered spells aren't learned // Make sure that triggered spells aren't learned
if (!spell->SpellFamilyName && !spell->StartRecoveryCategory) if (!spell->SpellFamilyName && !spell->StartRecoveryCategory)