|
|
@ -87,6 +87,10 @@ bool CExchangeView::putItemInExchange(uint32 bagSlot, uint32 exchangeSlot, uint3
|
|
|
|
if (!item->getMovable() && _InterlocutorView != NULL && form->Family != ITEMFAMILY::PET_ANIMAL_TICKET && (!form->DropOrSell || item->getUnMovable()))
|
|
|
|
if (!item->getMovable() && _InterlocutorView != NULL && form->Family != ITEMFAMILY::PET_ANIMAL_TICKET && (!form->DropOrSell || item->getUnMovable()))
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// pet animal ticket must be exchangeable only if shardExchangeable
|
|
|
|
|
|
|
|
if (form->Family == ITEMFAMILY::PET_ANIMAL_TICKET && !form->ShardExchangeable)
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
|
|
// Can't trade items locked by owner
|
|
|
|
// Can't trade items locked by owner
|
|
|
|
if (item->getLockedByOwner())
|
|
|
|
if (item->getLockedByOwner())
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|