Core: Fix titles not showing on login (#1114)

Wrong field ID fixed.

Closes #1059
This commit is contained in:
Amin.MasterkinG
2018-12-13 19:13:43 +03:30
committed by Barbz
parent f41899e690
commit 4bd1330b6e

View File

@@ -18135,7 +18135,7 @@ bool Player::LoadFromDB(uint32 guid, SQLQueryHolder *holder)
// check PLAYER_CHOSEN_TITLE compatibility with PLAYER__FIELD_KNOWN_TITLES
// note: PLAYER__FIELD_KNOWN_TITLES updated at quest status loaded
uint32 curTitle = fields[46].GetUInt32();
uint32 curTitle = fields[51].GetUInt32();
if (curTitle && !HasTitle(curTitle))
curTitle = 0;