mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
Core/PacketIO: Add missing bit to SMSG_QUEST_GIVER_QUEST_DETAILS
Closes #30191
This commit is contained in:
@@ -490,6 +490,7 @@ void PlayerMenu::SendQuestGiverQuestDetails(Quest const* quest, ObjectGuid npcGU
|
||||
packet.QuestInfoID = quest->GetQuestInfoID();
|
||||
packet.QuestSessionBonus = 0; //quest->GetQuestSessionBonus(); // this is only sent while quest session is active
|
||||
packet.AutoLaunched = autoLaunched;
|
||||
packet.ResetByScheduler = quest->IsResetByScheduler();
|
||||
packet.DisplayPopup = displayPopup;
|
||||
packet.QuestFlags[0] = quest->GetFlags() & (sWorld->getBoolConfig(CONFIG_QUEST_IGNORE_AUTO_ACCEPT) ? ~QUEST_FLAGS_AUTO_ACCEPT : ~0);
|
||||
packet.QuestFlags[1] = quest->GetFlagsEx();
|
||||
|
||||
@@ -507,6 +507,7 @@ WorldPacket const* QuestGiverQuestDetails::Write()
|
||||
_worldPacket << Bits<1>(AutoLaunched);
|
||||
_worldPacket << Bits<1>(FromContentPush);
|
||||
_worldPacket << Bits<1>(false); // unused in client
|
||||
_worldPacket << Bits<1>(ResetByScheduler);
|
||||
_worldPacket << Bits<1>(StartCheat);
|
||||
_worldPacket << Bits<1>(DisplayPopup);
|
||||
_worldPacket.FlushBits();
|
||||
|
||||
@@ -440,6 +440,7 @@ namespace WorldPackets
|
||||
bool StartCheat = false;
|
||||
bool AutoLaunched = false;
|
||||
bool FromContentPush = false;
|
||||
bool ResetByScheduler = false;
|
||||
};
|
||||
|
||||
struct QuestObjectiveCollect
|
||||
|
||||
Reference in New Issue
Block a user