*Fix a crash caused by item
--HG-- branch : trunk
This commit is contained in:
+2
-1
@@ -17793,7 +17793,8 @@ bool Player::BuyItemFromVendor(uint64 vendorguid, uint32 item, uint8 count, uint
|
|||||||
{
|
{
|
||||||
if( bagguid == pBag->GetGUID() )
|
if( bagguid == pBag->GetGUID() )
|
||||||
{
|
{
|
||||||
bag = i;
|
if(slot < pBag->GetBagSlot() && !pBag->GetItemByPos(slot))
|
||||||
|
bag = i;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user