From e7114b4b3cea5be5de851af5e375546b648d38c4 Mon Sep 17 00:00:00 2001 From: Feanordev Date: Mon, 19 Sep 2011 20:48:32 +0200 Subject: [PATCH] [12008] Fix BoA items conversion Thanks to stfx for porting Signed-off-by: Schmoozerd --- src/game/ItemHandler.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/ItemHandler.cpp b/src/game/ItemHandler.cpp index db39559c9..20a233ff6 100644 --- a/src/game/ItemHandler.cpp +++ b/src/game/ItemHandler.cpp @@ -804,7 +804,7 @@ void WorldSession::SendListInventory(ObjectGuid vendorguid) uint32 price = (crItem->ExtendedCost == 0 || pProto->Flags2 & ITEM_FLAG2_EXT_COST_REQUIRES_GOLD) ? uint32(floor(pProto->BuyPrice * discountMod)) : 0; data << uint32(vendorslot +1); // client size expected counting from 1 - data << uint32(itemId); + data << uint32(pProto->ItemId); data << uint32(pProto->DisplayInfoID); data << uint32(crItem->maxcount <= 0 ? 0xFFFFFFFF : pCreature->GetVendorItemCurrentCount(crItem)); data << uint32(price); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 898ebdb06..075be8e77 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "12007" + #define REVISION_NR "12008" #endif // __REVISION_NR_H__