summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-06-04 18:02:45 +0200
committerMattes D <github@xoft.cz>2014-06-04 18:02:45 +0200
commitc11488ccd77c02ec9228800071930a458db6b356 (patch)
treebcee4502dc854de44f398d9e417cc3691f4d7378 /src
parentMerge pull request #1060 from Howaner/Inventory (diff)
parentUpdate IncrementalRedstoneSimulator.cpp (diff)
downloadcuberite-c11488ccd77c02ec9228800071930a458db6b356.tar
cuberite-c11488ccd77c02ec9228800071930a458db6b356.tar.gz
cuberite-c11488ccd77c02ec9228800071930a458db6b356.tar.bz2
cuberite-c11488ccd77c02ec9228800071930a458db6b356.tar.lz
cuberite-c11488ccd77c02ec9228800071930a458db6b356.tar.xz
cuberite-c11488ccd77c02ec9228800071930a458db6b356.tar.zst
cuberite-c11488ccd77c02ec9228800071930a458db6b356.zip
Diffstat (limited to '')
-rw-r--r--src/Server.cpp8
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator.cpp10
-rw-r--r--src/UI/Window.cpp1
3 files changed, 16 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/Simulator/IncrementalRedstoneSimulator.cpp b/src/Simulator/IncrementalRedstoneSimulator.cpp
index 51a7c2886..f4355b33b 100644
--- a/src/Simulator/IncrementalRedstoneSimulator.cpp
+++ b/src/Simulator/IncrementalRedstoneSimulator.cpp
@@ -17,8 +17,14 @@
-cIncrementalRedstoneSimulator::cIncrementalRedstoneSimulator(cWorld & a_World)
- : super(a_World)
+cIncrementalRedstoneSimulator::cIncrementalRedstoneSimulator(cWorld & a_World) :
+ super(a_World),
+ m_RedstoneSimulatorChunkData(),
+ m_PoweredBlocks(),
+ m_LinkedPoweredBlocks(),
+ m_SimulatedPlayerToggleableBlocks(),
+ m_RepeatersDelayList(),
+ m_Chunk()
{
}
diff --git a/src/UI/Window.cpp b/src/UI/Window.cpp
index 46885390b..98a9a0cec 100644
--- a/src/UI/Window.cpp
+++ b/src/UI/Window.cpp
@@ -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) :
cWindow(wtEnchantment, "Enchant"),
+ m_SlotArea(),
m_BlockX(a_BlockX),
m_BlockY(a_BlockY),
m_BlockZ(a_BlockZ)