[12008] Fix BoA items conversion

Thanks to stfx for porting

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
Feanordev 2011-09-19 20:48:32 +02:00 committed by Schmoozerd
parent ffd060d400
commit e7114b4b3c
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12007"
#define REVISION_NR "12008"
#endif // __REVISION_NR_H__