mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[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:
parent
efa741a5cb
commit
cc20be1012
2 changed files with 2 additions and 1 deletions
|
|
@ -818,6 +818,7 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder * holder)
|
||||||
if(pCurrChar->HasAtLoginFlag(AT_LOGIN_RESET_TALENTS))
|
if(pCurrChar->HasAtLoginFlag(AT_LOGIN_RESET_TALENTS))
|
||||||
{
|
{
|
||||||
pCurrChar->resetTalents(true);
|
pCurrChar->resetTalents(true);
|
||||||
|
pCurrChar->SendTalentsInfoData(false); // original talents send already in to SendInitialPacketsBeforeAddToMap, resend reset state
|
||||||
SendNotification(LANG_RESET_TALENTS);
|
SendNotification(LANG_RESET_TALENTS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8285"
|
#define REVISION_NR "8286"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue