From 8db1370cd611b54c894a0b9c1f2b6cbecd86c92c Mon Sep 17 00:00:00 2001 From: biglad Date: Sun, 30 Aug 2009 11:47:29 +0100 Subject: * Fix Build --HG-- branch : trunk --- src/game/Level3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/Level3.cpp') diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp index ddb8e73b481..55ef44baa1b 100644 --- a/src/game/Level3.cpp +++ b/src/game/Level3.cpp @@ -2429,12 +2429,12 @@ bool ChatHandler::HandleLearnAllMyTalentsCommand(const char* /*args*/) if(!spellId) // ??? none spells in talent continue; - SpellEntry const* spellInfo = sSpellStore.LookupEntry(spellid); + SpellEntry const* spellInfo = sSpellStore.LookupEntry(spellId); if(!spellInfo || !SpellMgr::IsSpellValid(spellInfo,m_session->GetPlayer(),false)) continue; // learn highest rank of talent and learn all non-talent spell ranks (recursive by tree) - player->learnSpellHighRank(spellid); + player->learnSpellHighRank(spellId); } SendSysMessage(LANG_COMMAND_LEARN_CLASS_TALENTS); -- cgit v1.2.3