Fix problems with no stack limit.
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -9346,7 +9346,7 @@ uint8 Player::_CanTakeMoreSimilarItems(uint32 entry, uint32 count, Item* pItem,
|
||||
}
|
||||
|
||||
// no maximum
|
||||
if(pProto->MaxCount <= 0)
|
||||
if(pProto->MaxCount <= 0 || pProto->MaxCount == 2147483647)
|
||||
return EQUIP_ERR_OK;
|
||||
|
||||
uint32 curcount = GetItemCount(pProto->ItemId,true,pItem);
|
||||
|
||||
Reference in New Issue
Block a user