Jump to content

[308-branch][Patch] Fix QuestMenu - ReqItemId and ReqItemCount


Guest traponinet

Recommended Posts

In case of quest, that requested items,

the Quest Menu does not show what items and how many are required.

for 308-branch [7190] 1/26/09

traponinet (author)

diff --git a/src/game/GossipDef.cpp b/src/game/GossipDef.cpp
index c7c770b..785cb26 100644
--- a/src/game/GossipDef.cpp
+++ b/src/game/GossipDef.cpp
@@ -598,8 +598,10 @@ void PlayerMenu::SendQuestQueryResponse( Quest const *pQuest )
        data << uint32(0);                                  // added in WotLK, dunno if offset if correct
    }

-    for (iI = 0; iI < 5; ++iI)                              // items?
+    for (iI = 0; iI < QUEST_OBJECTIVES_COUNT; ++iI)                              // items?
    {
+        data << uint32(pQuest->ReqItemId[iI]);
+        data << uint32(pQuest->ReqItemCount[iI]);
        data << uint32(0);
        data << uint32(0);
    }

EDIT:

best is to wait until devs put it in branch-308

apply .patch (or make such adjustments) if unless you wait.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use