1
0

Fixed some warnings in Server.cpp, and in UI/

This commit is contained in:
Julian Laubstein 2014-05-19 14:34:34 +02:00
parent e9abf9a498
commit fb7f2993bf
3 changed files with 11 additions and 3 deletions

View File

@ -107,10 +107,16 @@ void cServer::cTickThread::Execute(void)
cServer::cServer(void) : cServer::cServer(void) :
m_ListenThreadIPv4(*this, cSocket::IPv4, "Client IPv4"), m_ListenThreadIPv4(*this, cSocket::IPv4, "Client IPv4"),
m_ListenThreadIPv6(*this, cSocket::IPv6, "Client IPv6"), m_ListenThreadIPv6(*this, cSocket::IPv6, "Client IPv6"),
m_PlayerCount(0),
m_PlayerCountDiff(0),
m_ClientViewDistance(0),
m_bIsConnected(false), m_bIsConnected(false),
m_bRestarting(false), m_bRestarting(false),
m_RCONServer(*this), m_RCONServer(*this),
m_TickThread(*this) m_MaxPlayers(0),
m_bIsHardcore(false),
m_TickThread(*this),
m_ShouldAuthenticate(false)
{ {
} }

View File

@ -600,7 +600,8 @@ cCraftingRecipe & cSlotAreaCrafting::GetRecipeForPlayer(cPlayer & a_Player)
cSlotAreaAnvil::cSlotAreaAnvil(cAnvilWindow & a_ParentWindow) : cSlotAreaAnvil::cSlotAreaAnvil(cAnvilWindow & a_ParentWindow) :
cSlotAreaTemporary(3, a_ParentWindow), cSlotAreaTemporary(3, a_ParentWindow),
m_MaximumCost(0) m_MaximumCost(0),
m_StackSizeToBeUsedInRepair(0)
{ {
} }

View File

@ -856,7 +856,8 @@ cEnchantingWindow::cEnchantingWindow(int a_BlockX, int a_BlockY, int a_BlockZ) :
cWindow(wtEnchantment, "Enchant"), cWindow(wtEnchantment, "Enchant"),
m_BlockX(a_BlockX), m_BlockX(a_BlockX),
m_BlockY(a_BlockY), 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 cSlotAreaEnchanting(*this));
m_SlotAreas.push_back(new cSlotAreaInventory(*this)); m_SlotAreas.push_back(new cSlotAreaInventory(*this));