diff options
author | Intel <chemicstry@gmail.com> | 2014-11-12 03:58:17 +0200 |
---|---|---|
committer | Intel <chemicstry@gmail.com> | 2014-11-12 21:43:48 +0200 |
commit | da52c8d54ec341cc55f963fe0397fcc5e98b06e9 (patch) | |
tree | 6b2249c92c3567ae560f9c2c989114c9d1d5e124 /src/server/game/Handlers/CharacterHandler.cpp | |
parent | 620f23d9dcb94b21c2b3402765817362e2b82b2f (diff) |
Core/Talents:
Fixed SMSG_TALENTS_INFO packet
Fixed talents saving to DB
Renamed 'talent spec' to 'talent group' since this name was shadowing character specializations (and new name is correct according to JAM)
Enabled loading of MinorTalent.dbc (will be used later)
Added additional specialization check in LearnTalent
Diffstat (limited to 'src/server/game/Handlers/CharacterHandler.cpp')
-rw-r--r-- | src/server/game/Handlers/CharacterHandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Handlers/CharacterHandler.cpp b/src/server/game/Handlers/CharacterHandler.cpp index 6e9560ac22f..7d892371931 100644 --- a/src/server/game/Handlers/CharacterHandler.cpp +++ b/src/server/game/Handlers/CharacterHandler.cpp @@ -1055,7 +1055,7 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder* holder) if (pCurrChar->HasAtLoginFlag(AT_LOGIN_RESET_TALENTS)) { pCurrChar->ResetTalents(true); - pCurrChar->SendTalentsInfoData(false); // original talents send already in to SendInitialPacketsBeforeAddToMap, resend reset state + pCurrChar->SendTalentsInfoData(); // original talents send already in to SendInitialPacketsBeforeAddToMap, resend reset state SendNotification(LANG_RESET_TALENTS); } @@ -1416,13 +1416,13 @@ void WorldSession::HandleRemoveGlyph(WorldPacket& recvData) return; } - if (uint32 glyph = _player->GetGlyph(_player->GetActiveSpec(), slot)) + if (uint32 glyph = _player->GetGlyph(_player->GetActiveTalentGroup(), slot)) { if (GlyphPropertiesEntry const* gp = sGlyphPropertiesStore.LookupEntry(glyph)) { _player->RemoveAurasDueToSpell(gp->SpellID); _player->SetGlyph(slot, 0); - _player->SendTalentsInfoData(false); + _player->SendTalentsInfoData(); } } } |