1
0

Shift+clicking won't combine different item metas.

Fixes FS 424.
This commit is contained in:
madmaxoft 2013-08-02 09:11:55 +02:00
parent 86ca755bc2
commit edb299db09

View File

@ -187,7 +187,7 @@ void cSlotArea::DistributeStack(cItem & a_ItemStack, cPlayer & a_Player, bool a_
for (int i = 0; i < m_NumSlots; i++)
{
const cItem * Slot = GetSlot(i, a_Player);
if (!Slot->IsSameType(a_ItemStack) && (!Slot->IsEmpty() || a_KeepEmptySlots))
if (!Slot->IsStackableWith(a_ItemStack) && (!Slot->IsEmpty() || a_KeepEmptySlots))
{
// Different items
continue;