diff options
author | Drahy <none@none> | 2009-07-07 02:23:41 +0200 |
---|---|---|
committer | Drahy <none@none> | 2009-07-07 02:23:41 +0200 |
commit | a3f00be577f33e41d70ce0c9b0e9e0951d5dc082 (patch) | |
tree | 1d98d3e898b6e4888eef99cb09ea0a4eca8cd1a7 /src/game/Level3.cpp | |
parent | a68d8302d54b8d119006f0c5e9fe346e5d0baf24 (diff) | |
parent | af1c18852446e6be81376a98eba8e2543985479d (diff) |
* Merge
--HG--
branch : trunk
Diffstat (limited to 'src/game/Level3.cpp')
-rw-r--r-- | src/game/Level3.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp index ba956ac38f4..a099aa8f66c 100644 --- a/src/game/Level3.cpp +++ b/src/game/Level3.cpp @@ -1640,6 +1640,9 @@ bool ChatHandler::HandleUnLearnCommand(const char* args) else SendSysMessage(LANG_FORGET_SPELL); + if(GetTalentSpellCost(spell_id)) + target->SendTalentsInfoData(false); + return true; } @@ -2582,6 +2585,10 @@ bool ChatHandler::HandleLearnCommand(const char* args) else targetPlayer->learnSpell(spell,false); + uint32 first_spell = spellmgr.GetFirstSpellInChain(spell); + if(GetTalentSpellCost(first_spell)) + targetPlayer->SendTalentsInfoData(false); + return true; } |