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

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-02 10:11:48 +08:00
parent d3646db916
commit 793ec8c97d

View File

@@ -836,6 +836,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);
}