diff options
author | andrew <xdotftw@gmail.com> | 2014-02-23 14:03:40 +0100 |
---|---|---|
committer | andrew <xdotftw@gmail.com> | 2014-02-23 14:05:03 +0100 |
commit | f47187394572027cbfa07884cba2f54eaa6972ec (patch) | |
tree | 1f87d8d3f350b1d0c3faf5963c2ad74482ac3174 /src/World.cpp | |
parent | Manually exported DoWithMap (diff) | |
download | cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.tar cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.tar.gz cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.tar.bz2 cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.tar.lz cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.tar.xz cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.tar.zst cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.zip |
Diffstat (limited to 'src/World.cpp')
-rw-r--r-- | src/World.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/World.cpp b/src/World.cpp index 01fdae697..4870e7d6e 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -233,7 +233,6 @@ void cWorld::cTickThread::Execute(void) // cWorld: cWorld::cWorld(const AString & a_WorldName) : - cMapManager(this), m_WorldName(a_WorldName), m_IniFileName(m_WorldName + "/world.ini"), m_StorageSchema("Default"), @@ -254,6 +253,7 @@ cWorld::cWorld(const AString & a_WorldName) : m_bCommandBlocksEnabled(false), m_bUseChatPrefixes(true), m_Scoreboard(this), + m_MapManager(this), m_GeneratorCallbacks(*this), m_TickThread(*this) { @@ -265,7 +265,7 @@ cWorld::cWorld(const AString & a_WorldName) : cScoreboardSerializer Serializer(m_WorldName, &m_Scoreboard); Serializer.Load(); - LoadMapData(); + m_MapManager.LoadMapData(); } @@ -289,7 +289,7 @@ cWorld::~cWorld() cScoreboardSerializer Serializer(m_WorldName, &m_Scoreboard); Serializer.Save(); - SaveMapData(); + m_MapManager.SaveMapData(); delete m_ChunkMap; } |