summaryrefslogtreecommitdiffstats
path: root/src/UI/HopperWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/UI/HopperWindow.cpp')
-rw-r--r--src/UI/HopperWindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/UI/HopperWindow.cpp b/src/UI/HopperWindow.cpp
index db79e6857..8ac90401b 100644
--- a/src/UI/HopperWindow.cpp
+++ b/src/UI/HopperWindow.cpp
@@ -14,7 +14,7 @@
cHopperWindow::cHopperWindow(cHopperEntity * a_Hopper):
- super(wtHopper, "Hopper")
+ Super(wtHopper, "Hopper")
{
m_SlotAreas.push_back(new cSlotAreaItemGrid(a_Hopper->GetContents(), *this));
m_SlotAreas.push_back(new cSlotAreaInventory(*this));
@@ -34,13 +34,13 @@ void cHopperWindow::DistributeStack(cItem & a_ItemStack, int a_Slot, cPlayer & a
// Hopper Area
AreasInOrder.push_back(m_SlotAreas[2]); /* Hotbar */
AreasInOrder.push_back(m_SlotAreas[1]); /* Inventory */
- super::DistributeStackToAreas(a_ItemStack, a_Player, AreasInOrder, a_ShouldApply, true);
+ Super::DistributeStackToAreas(a_ItemStack, a_Player, AreasInOrder, a_ShouldApply, true);
}
else
{
// Inventory or Hotbar
AreasInOrder.push_back(m_SlotAreas[0]); /* Hopper */
- super::DistributeStackToAreas(a_ItemStack, a_Player, AreasInOrder, a_ShouldApply, false);
+ Super::DistributeStackToAreas(a_ItemStack, a_Player, AreasInOrder, a_ShouldApply, false);
}
}