diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-12-17 19:14:01 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-12-17 19:14:01 +0100 |
commit | 8277e1ec4e3e761527bc850ac371f3b899d023bf (patch) | |
tree | 5a5cb6bb1609e24bdd32ddbfb9354e158b51f161 /src/UI/CraftingWindow.h | |
parent | Merge branch 'master' into Inventory (diff) | |
download | cuberite-8277e1ec4e3e761527bc850ac371f3b899d023bf.tar cuberite-8277e1ec4e3e761527bc850ac371f3b899d023bf.tar.gz cuberite-8277e1ec4e3e761527bc850ac371f3b899d023bf.tar.bz2 cuberite-8277e1ec4e3e761527bc850ac371f3b899d023bf.tar.lz cuberite-8277e1ec4e3e761527bc850ac371f3b899d023bf.tar.xz cuberite-8277e1ec4e3e761527bc850ac371f3b899d023bf.tar.zst cuberite-8277e1ec4e3e761527bc850ac371f3b899d023bf.zip |
Diffstat (limited to 'src/UI/CraftingWindow.h')
-rw-r--r-- | src/UI/CraftingWindow.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/UI/CraftingWindow.h b/src/UI/CraftingWindow.h index f5a0328f2..e6292175e 100644 --- a/src/UI/CraftingWindow.h +++ b/src/UI/CraftingWindow.h @@ -48,19 +48,19 @@ public: AreasInOrder.push_back(m_SlotAreas[1]); /* Inventory */ AreasInOrder.push_back(m_SlotAreas[2]); /* Hotbar */ } - super::DistributeStack(a_ItemStack, a_Player, AreasInOrder, a_ShouldApply, (a_Slot == 0)); + super::DistributeStackToAreas(a_ItemStack, a_Player, AreasInOrder, a_ShouldApply, (a_Slot == 0)); } else if (a_ClickedArea == m_SlotAreas[1]) { // Inventory Area AreasInOrder.push_back(m_SlotAreas[2]); /* Hotbar */ - super::DistributeStack(a_ItemStack, a_Player, AreasInOrder, a_ShouldApply, false); + super::DistributeStackToAreas(a_ItemStack, a_Player, AreasInOrder, a_ShouldApply, false); } else { // Hotbar AreasInOrder.push_back(m_SlotAreas[1]); /* Inventory */ - super::DistributeStack(a_ItemStack, a_Player, AreasInOrder, a_ShouldApply, false); + super::DistributeStackToAreas(a_ItemStack, a_Player, AreasInOrder, a_ShouldApply, false); } } }; |