diff --git a/dGame/dComponents/InventoryComponent.cpp b/dGame/dComponents/InventoryComponent.cpp index 8c5ec269..02ddd3c8 100644 --- a/dGame/dComponents/InventoryComponent.cpp +++ b/dGame/dComponents/InventoryComponent.cpp @@ -208,7 +208,8 @@ void InventoryComponent::AddItem( auto stack = static_cast(info.stackSize); - if (inventoryType == eInventoryType::BRICKS) + // info.itemType of 1 is item type brick + if (inventoryType == eInventoryType::BRICKS || (stack == 0 && info.itemType == 1)) { stack = 999; }