diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-05-31 00:22:24 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-05-31 00:22:24 +0200 |
commit | 01fc93857cb18d918ab98109dabd9665038871af (patch) | |
tree | bb4dfc686bceb6efa67ea41c85d78212fd14653e | |
parent | Fix the furnace result slot. (diff) | |
download | cuberite-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 |
-rw-r--r-- | src/UI/SlotArea.cpp | 2 |
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(); } |