Fixed some warnings in Server.cpp, and in UI/
This commit is contained in:
parent
e9abf9a498
commit
fb7f2993bf
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user