summaryrefslogtreecommitdiffstats
path: root/src/UI/SlotArea.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-06-01 00:29:17 +0200
committerHowaner <franzi.moos@googlemail.com>2014-06-01 00:29:17 +0200
commit5368e664864094c51a919dc8846f2b41039417e6 (patch)
treec3349e2e7574bf39fb82e7c5daf4b8d8ce5ee53d /src/UI/SlotArea.cpp
parentSet DraggingItem to Slot directly. (diff)
downloadcuberite-5368e664864094c51a919dc8846f2b41039417e6.tar
cuberite-5368e664864094c51a919dc8846f2b41039417e6.tar.gz
cuberite-5368e664864094c51a919dc8846f2b41039417e6.tar.bz2
cuberite-5368e664864094c51a919dc8846f2b41039417e6.tar.lz
cuberite-5368e664864094c51a919dc8846f2b41039417e6.tar.xz
cuberite-5368e664864094c51a919dc8846f2b41039417e6.tar.zst
cuberite-5368e664864094c51a919dc8846f2b41039417e6.zip
Diffstat (limited to '')
-rw-r--r--src/UI/SlotArea.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/UI/SlotArea.cpp b/src/UI/SlotArea.cpp
index b3e126247..bc8dd9cd6 100644
--- a/src/UI/SlotArea.cpp
+++ b/src/UI/SlotArea.cpp
@@ -1400,6 +1400,7 @@ void cSlotAreaFurnace::Clicked(cPlayer & a_Player, int a_SlotNum, eClickAction a
if ((a_ClickAction == caShiftLeftClick) || (a_ClickAction == caShiftRightClick))
{
ShiftClicked(a_Player, a_SlotNum, a_ClickedItem);
+ return;
}
cItem Slot(*GetSlot(a_SlotNum, a_Player));