diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2014-05-19 14:34:34 +0200 |
---|---|---|
committer | Julian Laubstein <julianlaubstein@yahoo.de> | 2014-05-19 14:34:34 +0200 |
commit | fb7f2993bf3b62c00d4502b846018b035ffbdb7a (patch) | |
tree | 324a72279311c8de941c13e5a6b388ce38f7c3be | |
parent | Rolled some changes back (diff) | |
download | cuberite-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 |
-rw-r--r-- | src/Server.cpp | 8 | ||||
-rw-r--r-- | src/UI/SlotArea.cpp | 3 | ||||
-rw-r--r-- | src/UI/Window.cpp | 3 |
3 files changed, 11 insertions, 3 deletions
diff --git a/src/Server.cpp b/src/Server.cpp index aa731cdd2..66bccd680 100644 --- a/src/Server.cpp +++ b/src/Server.cpp @@ -107,10 +107,16 @@ void cServer::cTickThread::Execute(void) cServer::cServer(void) : m_ListenThreadIPv4(*this, cSocket::IPv4, "Client IPv4"), m_ListenThreadIPv6(*this, cSocket::IPv6, "Client IPv6"), + m_PlayerCount(0), + m_PlayerCountDiff(0), + m_ClientViewDistance(0), m_bIsConnected(false), m_bRestarting(false), m_RCONServer(*this), - m_TickThread(*this) + m_MaxPlayers(0), + m_bIsHardcore(false), + m_TickThread(*this), + m_ShouldAuthenticate(false) { } 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)); |