summaryrefslogtreecommitdiffstats
path: root/source/UI/SlotArea.cpp
diff options
context:
space:
mode:
authorsebi.noreply@gmail.com <sebi.noreply@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-24 14:48:25 +0200
committersebi.noreply@gmail.com <sebi.noreply@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-24 14:48:25 +0200
commite33e9111abe5bb7968f48bd2801bf182754e554c (patch)
treeeece777a96e41238cbe1ecb6e569aa81d94905d2 /source/UI/SlotArea.cpp
parent#grammarnazi: fixed tabs to spaces and alpha-sort (diff)
downloadcuberite-e33e9111abe5bb7968f48bd2801bf182754e554c.tar
cuberite-e33e9111abe5bb7968f48bd2801bf182754e554c.tar.gz
cuberite-e33e9111abe5bb7968f48bd2801bf182754e554c.tar.bz2
cuberite-e33e9111abe5bb7968f48bd2801bf182754e554c.tar.lz
cuberite-e33e9111abe5bb7968f48bd2801bf182754e554c.tar.xz
cuberite-e33e9111abe5bb7968f48bd2801bf182754e554c.tar.zst
cuberite-e33e9111abe5bb7968f48bd2801bf182754e554c.zip
Diffstat (limited to '')
-rw-r--r--source/UI/SlotArea.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/UI/SlotArea.cpp b/source/UI/SlotArea.cpp
index ec1192f2c..4b6d237ba 100644
--- a/source/UI/SlotArea.cpp
+++ b/source/UI/SlotArea.cpp
@@ -138,11 +138,12 @@ void cSlotArea::Clicked(cPlayer & a_Player, int a_SlotNum, bool a_IsRightClick,
}
}
+ SetSlot(a_SlotNum, a_Player, Slot);
if (bAsync)
{
m_ParentWindow.BroadcastWholeWindow();
}
- SetSlot(a_SlotNum, a_Player, Slot);
+
}