Set DraggingItem to Slot directly.
This commit is contained in:
parent
d422aa4081
commit
2030800ad7
@ -1441,7 +1441,7 @@ void cSlotAreaFurnace::Clicked(cPlayer & a_Player, int a_SlotNum, eClickAction a
|
|||||||
}
|
}
|
||||||
case caLeftClick:
|
case caLeftClick:
|
||||||
{
|
{
|
||||||
DraggingItem = cItem(Slot);
|
DraggingItem = Slot;
|
||||||
Slot.Empty();
|
Slot.Empty();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user