summaryrefslogtreecommitdiffstats
path: root/source/Root.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-10-26 19:47:12 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2013-10-26 19:47:12 +0200
commitcb06f35cb80c2162c3b1e9e329fc81b5d8b417da (patch)
treec0722d1541aa82e59f59d5c4f74ba9f5d2584b95 /source/Root.cpp
parentBoth the LoadWorlds() function and cAuthenticator now use the cIniFile object from the Root::Start() function. (diff)
downloadcuberite-cb06f35cb80c2162c3b1e9e329fc81b5d8b417da.tar
cuberite-cb06f35cb80c2162c3b1e9e329fc81b5d8b417da.tar.gz
cuberite-cb06f35cb80c2162c3b1e9e329fc81b5d8b417da.tar.bz2
cuberite-cb06f35cb80c2162c3b1e9e329fc81b5d8b417da.tar.lz
cuberite-cb06f35cb80c2162c3b1e9e329fc81b5d8b417da.tar.xz
cuberite-cb06f35cb80c2162c3b1e9e329fc81b5d8b417da.tar.zst
cuberite-cb06f35cb80c2162c3b1e9e329fc81b5d8b417da.zip
Diffstat (limited to 'source/Root.cpp')
-rw-r--r--source/Root.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Root.cpp b/source/Root.cpp
index df98c3537..346bb2c9f 100644
--- a/source/Root.cpp
+++ b/source/Root.cpp
@@ -245,7 +245,7 @@ void cRoot::LoadGlobalSettings()
-void cRoot::LoadWorlds(cIniFile IniFile)
+void cRoot::LoadWorlds(cIniFile & IniFile)
{
// First get the default world
AString DefaultWorldName = IniFile.GetValueSet("Worlds", "DefaultWorld", "world");