From 832bffa811cd29afd0715b851b621005cb63d342 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" <277429+mackal@users.noreply.github.com> Date: Wed, 5 Oct 2022 16:23:03 -0400 Subject: [PATCH] Fix Client::QuestReward overload SummonItem call (#2472) The overload that took the packet struct wasn't calling SummonItem with -1 charges, resulting it chargeless items if they had any --- zone/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/client.cpp b/zone/client.cpp index 39852dee0..fd40002a6 100644 --- a/zone/client.cpp +++ b/zone/client.cpp @@ -8788,7 +8788,7 @@ void Client::QuestReward(Mob* target, const QuestReward_Struct &reward, bool fac for (int i = 0; i < QUESTREWARD_COUNT; ++i) if (reward.item_id[i] > 0) - SummonItem(reward.item_id[i], 0, 0, 0, 0, 0, 0, false, EQ::invslot::slotCursor); + SummonItem(reward.item_id[i], -1, 0, 0, 0, 0, 0, false, EQ::invslot::slotCursor); // only process if both are valid // if we don't have a target here, we want to just reward, but if there is a target, need to check charm