summaryrefslogtreecommitdiffstats
path: root/src/UI
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-05-31 00:22:24 +0200
committerHowaner <franzi.moos@googlemail.com>2014-05-31 00:22:24 +0200
commit01fc93857cb18d918ab98109dabd9665038871af (patch)
treebb4dfc686bceb6efa67ea41c85d78212fd14653e /src/UI
parentFix the furnace result slot. (diff)
downloadcuberite-01fc93857cb18d918ab98109dabd9665038871af.tar
cuberite-01fc93857cb18d918ab98109dabd9665038871af.tar.gz
cuberite-01fc93857cb18d918ab98109dabd9665038871af.tar.bz2
cuberite-01fc93857cb18d918ab98109dabd9665038871af.tar.lz
cuberite-01fc93857cb18d918ab98109dabd9665038871af.tar.xz
cuberite-01fc93857cb18d918ab98109dabd9665038871af.tar.zst
cuberite-01fc93857cb18d918ab98109dabd9665038871af.zip
Diffstat (limited to 'src/UI')
-rw-r--r--src/UI/SlotArea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UI/SlotArea.cpp b/src/UI/SlotArea.cpp
index 6853ff90c..3acc49cde 100644
--- a/src/UI/SlotArea.cpp
+++ b/src/UI/SlotArea.cpp
@@ -1452,7 +1452,7 @@ void cSlotAreaFurnace::Clicked(cPlayer & a_Player, int a_SlotNum, eClickAction a
DraggingItem.m_ItemCount = (char)(((float)Slot.m_ItemCount) / 2.f + 0.5f);
Slot.m_ItemCount -= DraggingItem.m_ItemCount;
- if (Slot.IsEmpty())
+ if (Slot.m_ItemCount <= 0)
{
Slot.Empty();
}