summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-06-12 19:56:48 +0200
committerTycho <work.tycho+git@gmail.com>2014-06-12 19:56:48 +0200
commitc82f4f6309f760186c43b4f32596c3e78a5725b7 (patch)
tree6aa16d752970f2d2ba2f6f5877a0db2f3ae70fae /src/World.cpp
parentRemoved unnessicary indirection from Entity iterator list (diff)
downloadcuberite-c82f4f6309f760186c43b4f32596c3e78a5725b7.tar
cuberite-c82f4f6309f760186c43b4f32596c3e78a5725b7.tar.gz
cuberite-c82f4f6309f760186c43b4f32596c3e78a5725b7.tar.bz2
cuberite-c82f4f6309f760186c43b4f32596c3e78a5725b7.tar.lz
cuberite-c82f4f6309f760186c43b4f32596c3e78a5725b7.tar.xz
cuberite-c82f4f6309f760186c43b4f32596c3e78a5725b7.tar.zst
cuberite-c82f4f6309f760186c43b4f32596c3e78a5725b7.zip
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/World.cpp b/src/World.cpp
index c86827080..3ed2f5f13 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -234,6 +234,7 @@ void cWorld::cTickThread::Execute(void)
cWorld::cWorld(const AString & a_WorldName, eDimension a_Dimension, const AString & a_OverworldName) :
m_WorldName(a_WorldName),
+ m_OverworldName(a_OverworldName),
m_IniFileName(m_WorldName + "/world.ini"),
m_StorageSchema("Default"),
#ifdef __arm__
@@ -241,6 +242,7 @@ cWorld::cWorld(const AString & a_WorldName, eDimension a_Dimension, const AStrin
#else
m_StorageCompressionFactor(6),
#endif
+ m_Dimension(a_Dimension),
m_IsSpawnExplicitlySet(false),
m_WorldAgeSecs(0),
m_TimeOfDaySecs(0),
@@ -253,9 +255,8 @@ cWorld::cWorld(const AString & a_WorldName, eDimension a_Dimension, const AStrin
m_Scoreboard(this),
m_MapManager(this),
m_GeneratorCallbacks(*this),
- m_TickThread(*this),
- m_Dimension(a_Dimension),
- m_OverworldName(a_OverworldName)
+ m_TickThread(*this)
+
{
LOGD("cWorld::cWorld(\"%s\")", a_WorldName.c_str());