aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellMgr.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-04-19 17:29:17 +0200
committerQAston <none@none>2009-04-19 17:29:17 +0200
commita23df5a270cd47ea3b4f433699b484c6c61a27e6 (patch)
treed243c0797d4a5f2ea50d7c9537f0c542c761e129 /src/game/SpellMgr.cpp
parentcfabdd2fd265b38b8771fd870334dcc9b64a0c8a (diff)
*Fix compile.
--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 f21d8575b03..57da4116275 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -2534,7 +2534,7 @@ void SpellMgr::LoadPetLevelupSpellMap()
continue;
SpellEntry const *spell = sSpellStore.LookupEntry(skillLine->spellId);
// not exist or passive (passives are handled elsewhere)
- if(!spell || IsPassiveSpell(spell))
+ if(!spell || IsPassiveSpell(spell->Id))
continue;
// Make sure that triggered spells aren't learned
if (!spell->SpellFamilyName && !spell->StartRecoveryCategory)