diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-10-19 13:34:05 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-10-19 13:34:05 +0200 |
commit | cc600de51f5946af5d4018b7681f2c11c68662e7 (patch) | |
tree | 73782543b31568c66bba5d1f87ea0ffcbdca2357 /src/Root.cpp | |
parent | Use std::thread (diff) | |
parent | cLuaState: cMonster descendants don't push their specific type. (diff) | |
download | cuberite-cc600de51f5946af5d4018b7681f2c11c68662e7.tar cuberite-cc600de51f5946af5d4018b7681f2c11c68662e7.tar.gz cuberite-cc600de51f5946af5d4018b7681f2c11c68662e7.tar.bz2 cuberite-cc600de51f5946af5d4018b7681f2c11c68662e7.tar.lz cuberite-cc600de51f5946af5d4018b7681f2c11c68662e7.tar.xz cuberite-cc600de51f5946af5d4018b7681f2c11c68662e7.tar.zst cuberite-cc600de51f5946af5d4018b7681f2c11c68662e7.zip |
Diffstat (limited to 'src/Root.cpp')
-rw-r--r-- | src/Root.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Root.cpp b/src/Root.cpp index 2cfbf0817..924ebcc1a 100644 --- a/src/Root.cpp +++ b/src/Root.cpp @@ -152,7 +152,8 @@ void cRoot::Start(void) m_WebAdmin->Init(); LOGD("Loading settings..."); - m_RankManager.Initialize(m_MojangAPI); + m_RankManager = new cRankManager(); + m_RankManager->Initialize(m_MojangAPI); m_CraftingRecipes = new cCraftingRecipes; m_FurnaceRecipe = new cFurnaceRecipe(); |