[8286] Correctly show talent points after talents reset at login by "at login" flag.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
redcore 2009-08-01 15:07:08 +04:00 committed by VladimirMangos
parent efa741a5cb
commit cc20be1012
2 changed files with 2 additions and 1 deletions

View file

@ -818,6 +818,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
SendNotification(LANG_RESET_TALENTS);
}