[0022] Fix & enable SMSG_QUERY_QUEST

Signed-off-by: Netcho <kkotlarski@abv.bg>
This commit is contained in:
Netcho 2012-08-08 16:13:04 +03:00 committed by Antz
parent ea8bfcb56c
commit 42abd4d512
2 changed files with 8 additions and 8 deletions

View file

@ -686,7 +686,7 @@ void PlayerMenu::SendQuestQueryResponse(Quest const* pQuest)
data << uint32(pQuest->ReqItemCount[iI]); data << uint32(pQuest->ReqItemCount[iI]);
} }
data << uint32(0); // unk1 4.3.4 data << uint32(0); // unk1 4.3.4
for (iI = 0; iI < QUEST_OBJECTIVES_COUNT; ++iI) for (iI = 0; iI < QUEST_OBJECTIVES_COUNT; ++iI)
data << ObjectiveText[iI]; data << ObjectiveText[iI];
@ -703,13 +703,13 @@ void PlayerMenu::SendQuestQueryResponse(Quest const* pQuest)
data << uint32(0); data << uint32(0);
} }
data << ""; // 4.3.4 4 strings sent, unk data << ""; // 4.3.4 4 strings sent, unk
data << ""; data << "";
data << ""; data << "";
data << ""; data << "";
data << uint32(0); data << uint32(0);
data << uint32(0); data << uint32(0);
GetMenuSession()->SendPacket( &data ); GetMenuSession()->SendPacket( &data );
DEBUG_LOG("WORLD: Sent SMSG_QUEST_QUERY_RESPONSE questid=%u", pQuest->GetQuestId()); DEBUG_LOG("WORLD: Sent SMSG_QUEST_QUERY_RESPONSE questid=%u", pQuest->GetQuestId());

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "0021" #define REVISION_NR "0022"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__