aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Level3.cpp4
1 files changed, 2 insertions, 2 deletions
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);