fixed bad web merge
This commit is contained in:
parent
00dbbabc5c
commit
c741d81017
@ -47,6 +47,9 @@ public:
|
|||||||
{
|
{
|
||||||
short CombineCount = static_cast<short>(Item.m_ItemCount);
|
short CombineCount = static_cast<short>(Item.m_ItemCount);
|
||||||
if ((CombineCount + static_cast<short>(m_Pickup->GetItem().m_ItemCount)) > static_cast<short>(Item.GetMaxStackSize()))
|
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)
|
if (CombineCount <= 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user