diff options
author | megamage <none@none> | 2009-01-25 16:35:14 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-25 16:35:14 -0600 |
commit | ef88b0445169b09528df6d0d1f2066fed5da79de (patch) | |
tree | 6f09f7523d960775d8ea0dc2d2a866a75a5e04da /src/game/Level2.cpp | |
parent | 30f6b38941e907c20dbb68f514eaf1345082abd3 (diff) |
*Update to Mangos 7183.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Level2.cpp')
-rw-r--r-- | src/game/Level2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Level2.cpp b/src/game/Level2.cpp index 3105c630157..63b00300639 100644 --- a/src/game/Level2.cpp +++ b/src/game/Level2.cpp @@ -3742,7 +3742,7 @@ bool ChatHandler::HandleLearnAllCraftsCommand(const char* /*args*/) if(!spellInfo || !SpellMgr::IsSpellValid(spellInfo,m_session->GetPlayer(),false)) continue; - m_session->GetPlayer()->learnSpell(skillLine->spellId); + m_session->GetPlayer()->learnSpell(skillLine->spellId,false); } } } @@ -3815,7 +3815,7 @@ bool ChatHandler::HandleLearnAllRecipesCommand(const char* args) continue; if( !target->HasSpell(spellInfo->Id) ) - m_session->GetPlayer()->learnSpell(skillLine->spellId); + m_session->GetPlayer()->learnSpell(skillLine->spellId,false); } uint16 maxLevel = target->GetPureMaxSkillValue(skillInfo->id); |