mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 09:39:11 +00:00
fix(Core): Save bonus talent points to DB (#14099)
* fix(Core): Save bonus talent points to DB * fix(Core): Save bonus talent points to DB * Oxford comma in comment
This commit is contained in:
@@ -14710,6 +14710,7 @@ void Player::_SaveCharacter(bool create, CharacterDatabaseTransaction trans)
|
||||
stmt->SetData(index++, GetByteValue(PLAYER_FIELD_BYTES, 2));
|
||||
stmt->SetData(index++, m_grantableLevels);
|
||||
stmt->SetData(index++, _innTriggerId);
|
||||
stmt->SetData(index++, m_extraBonusTalentCount);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -14849,6 +14850,7 @@ void Player::_SaveCharacter(bool create, CharacterDatabaseTransaction trans)
|
||||
stmt->SetData(index++, GetByteValue(PLAYER_FIELD_BYTES, 2));
|
||||
stmt->SetData(index++, m_grantableLevels);
|
||||
stmt->SetData(index++, _innTriggerId);
|
||||
stmt->SetData(index++, m_extraBonusTalentCount);
|
||||
|
||||
stmt->SetData(index++, IsInWorld() && !GetSession()->PlayerLogout() ? 1 : 0);
|
||||
// Index
|
||||
|
||||
Reference in New Issue
Block a user