summaryrefslogtreecommitdiffstats
path: root/src/UI
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2014-05-19 14:34:34 +0200
committerJulian Laubstein <julianlaubstein@yahoo.de>2014-05-19 14:34:34 +0200
commitfb7f2993bf3b62c00d4502b846018b035ffbdb7a (patch)
tree324a72279311c8de941c13e5a6b388ce38f7c3be /src/UI
parentRolled some changes back (diff)
downloadcuberite-fb7f2993bf3b62c00d4502b846018b035ffbdb7a.tar
cuberite-fb7f2993bf3b62c00d4502b846018b035ffbdb7a.tar.gz
cuberite-fb7f2993bf3b62c00d4502b846018b035ffbdb7a.tar.bz2
cuberite-fb7f2993bf3b62c00d4502b846018b035ffbdb7a.tar.lz
cuberite-fb7f2993bf3b62c00d4502b846018b035ffbdb7a.tar.xz
cuberite-fb7f2993bf3b62c00d4502b846018b035ffbdb7a.tar.zst
cuberite-fb7f2993bf3b62c00d4502b846018b035ffbdb7a.zip
Diffstat (limited to 'src/UI')
-rw-r--r--src/UI/SlotArea.cpp3
-rw-r--r--src/UI/Window.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/UI/SlotArea.cpp b/src/UI/SlotArea.cpp
index 8833a767a..be3ce1f8d 100644
--- a/src/UI/SlotArea.cpp
+++ b/src/UI/SlotArea.cpp
@@ -600,7 +600,8 @@ cCraftingRecipe & cSlotAreaCrafting::GetRecipeForPlayer(cPlayer & a_Player)
cSlotAreaAnvil::cSlotAreaAnvil(cAnvilWindow & a_ParentWindow) :
cSlotAreaTemporary(3, a_ParentWindow),
- m_MaximumCost(0)
+ m_MaximumCost(0),
+ m_StackSizeToBeUsedInRepair(0)
{
}
diff --git a/src/UI/Window.cpp b/src/UI/Window.cpp
index 46885390b..24b718156 100644
--- a/src/UI/Window.cpp
+++ b/src/UI/Window.cpp
@@ -856,7 +856,8 @@ cEnchantingWindow::cEnchantingWindow(int a_BlockX, int a_BlockY, int a_BlockZ) :
cWindow(wtEnchantment, "Enchant"),
m_BlockX(a_BlockX),
m_BlockY(a_BlockY),
- m_BlockZ(a_BlockZ)
+ m_BlockZ(a_BlockZ),
+ m_SlotArea()
{
m_SlotAreas.push_back(new cSlotAreaEnchanting(*this));
m_SlotAreas.push_back(new cSlotAreaInventory(*this));