Core/Quest: if a quest rewards a title, show it in the offer reward screen too.

Also fix delete query in fa0fc13fd0, thanks Aokromes for noticing!
This commit is contained in:
Wyrserth
2019-07-01 00:46:55 +02:00
parent ce3820031d
commit 61ba1351e0
2 changed files with 2 additions and 2 deletions

View File

@@ -596,7 +596,7 @@ void PlayerMenu::SendQuestGiverOfferReward(Quest const* quest, ObjectGuid npcGUI
data << uint32(0x08); // unused by client?
data << uint32(quest->GetRewSpell()); // reward spell, this spell will display (icon) (cast if RewSpellCast == 0)
data << int32(quest->GetRewSpellCast()); // cast spell
data << uint32(0); // unknown
data << uint32(quest->GetCharTitleId()); // CharTitleId, new 2.4.0, player gets this title (id from CharTitles)
data << uint32(quest->GetBonusTalents()); // bonus talents
data << uint32(quest->GetRewArenaPoints()); // arena points
data << uint32(0);