Merge pull request #1011 from SphinxC0re/SomeWarningFixes
Fixed some warnings
This commit is contained in:
commit
c11488ccd7
@ -240,6 +240,7 @@ template <typename Type> class cItemCallback
|
|||||||
public:
|
public:
|
||||||
/// Called for each item in the internal list; return true to stop the loop, or false to continue enumerating
|
/// Called for each item in the internal list; return true to stop the loop, or false to continue enumerating
|
||||||
virtual bool Item(Type * a_Type) = 0;
|
virtual bool Item(Type * a_Type) = 0;
|
||||||
|
virtual ~cItemCallback() {};
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,8 +17,14 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
cIncrementalRedstoneSimulator::cIncrementalRedstoneSimulator(cWorld & a_World)
|
cIncrementalRedstoneSimulator::cIncrementalRedstoneSimulator(cWorld & a_World) :
|
||||||
: super(a_World)
|
super(a_World),
|
||||||
|
m_RedstoneSimulatorChunkData(),
|
||||||
|
m_PoweredBlocks(),
|
||||||
|
m_LinkedPoweredBlocks(),
|
||||||
|
m_SimulatedPlayerToggleableBlocks(),
|
||||||
|
m_RepeatersDelayList(),
|
||||||
|
m_Chunk()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -854,6 +854,7 @@ void cAnvilWindow::GetBlockPos(int & a_PosX, int & a_PosY, int & a_PosZ)
|
|||||||
|
|
||||||
cEnchantingWindow::cEnchantingWindow(int a_BlockX, int a_BlockY, int a_BlockZ) :
|
cEnchantingWindow::cEnchantingWindow(int a_BlockX, int a_BlockY, int a_BlockZ) :
|
||||||
cWindow(wtEnchantment, "Enchant"),
|
cWindow(wtEnchantment, "Enchant"),
|
||||||
|
m_SlotArea(),
|
||||||
m_BlockX(a_BlockX),
|
m_BlockX(a_BlockX),
|
||||||
m_BlockY(a_BlockY),
|
m_BlockY(a_BlockY),
|
||||||
m_BlockZ(a_BlockZ)
|
m_BlockZ(a_BlockZ)
|
||||||
|
Loading…
Reference in New Issue
Block a user