diff options
Diffstat (limited to 'src/server/scripts/Outland/zangarmarsh.cpp')
-rw-r--r-- | src/server/scripts/Outland/zangarmarsh.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/server/scripts/Outland/zangarmarsh.cpp b/src/server/scripts/Outland/zangarmarsh.cpp index db50e255118..9909b81fbec 100644 --- a/src/server/scripts/Outland/zangarmarsh.cpp +++ b/src/server/scripts/Outland/zangarmarsh.cpp @@ -225,13 +225,14 @@ bool GossipSelect_npc_elder_kuruti(Player* pPlayer, Creature* pCreature, uint32 if (!pPlayer->HasItemCount(24573,1)) { ItemPosCountVec dest; - uint8 msg = pPlayer->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, 24573, 1, false); + uint32 itemId = 24573; + uint8 msg = pPlayer->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, itemId, 1, false); if (msg == EQUIP_ERR_OK) { - pPlayer->StoreNewItem(dest, 24573, true); + pPlayer->StoreNewItem(dest, itemId, true); } else - pPlayer->SendEquipError(msg,NULL,NULL); + pPlayer->SendEquipError(msg, NULL, NULL, itemId); } pPlayer->SEND_GOSSIP_MENU(9231, pCreature->GetGUID()); break; |