fixed bad web merge

This commit is contained in:
Marc Lorenz 2021-12-21 13:21:58 +01:00 committed by Alexander Harkness
parent 00dbbabc5c
commit c741d81017

View File

@ -47,6 +47,9 @@ public:
{
short CombineCount = static_cast<short>(Item.m_ItemCount);
if ((CombineCount + static_cast<short>(m_Pickup->GetItem().m_ItemCount)) > static_cast<short>(Item.GetMaxStackSize()))
{
CombineCount = Item.GetMaxStackSize() - m_Pickup->GetItem().m_ItemCount;
}
if (CombineCount <= 0)
{