Core: Fix titles not showing on login (#1114)
Wrong field ID fixed. Closes #1059
This commit is contained in:
@@ -18135,7 +18135,7 @@ bool Player::LoadFromDB(uint32 guid, SQLQueryHolder *holder)
|
|||||||
|
|
||||||
// check PLAYER_CHOSEN_TITLE compatibility with PLAYER__FIELD_KNOWN_TITLES
|
// check PLAYER_CHOSEN_TITLE compatibility with PLAYER__FIELD_KNOWN_TITLES
|
||||||
// note: PLAYER__FIELD_KNOWN_TITLES updated at quest status loaded
|
// note: PLAYER__FIELD_KNOWN_TITLES updated at quest status loaded
|
||||||
uint32 curTitle = fields[46].GetUInt32();
|
uint32 curTitle = fields[51].GetUInt32();
|
||||||
if (curTitle && !HasTitle(curTitle))
|
if (curTitle && !HasTitle(curTitle))
|
||||||
curTitle = 0;
|
curTitle = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user