summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-07-27 00:39:39 +0200
committerHowaner <franzi.moos@googlemail.com>2014-07-27 00:39:39 +0200
commita5cca16abe524fdbd756908ac157a0c9881463f3 (patch)
treef677b281875fe89bc4ec349330d2ae13c18b7c75 /src/Root.cpp
parentFixed plugin count and fixed plugin loading, when settings.ini was regenerated. (diff)
downloadcuberite-a5cca16abe524fdbd756908ac157a0c9881463f3.tar
cuberite-a5cca16abe524fdbd756908ac157a0c9881463f3.tar.gz
cuberite-a5cca16abe524fdbd756908ac157a0c9881463f3.tar.bz2
cuberite-a5cca16abe524fdbd756908ac157a0c9881463f3.tar.lz
cuberite-a5cca16abe524fdbd756908ac157a0c9881463f3.tar.xz
cuberite-a5cca16abe524fdbd756908ac157a0c9881463f3.tar.zst
cuberite-a5cca16abe524fdbd756908ac157a0c9881463f3.zip
Diffstat (limited to '')
-rw-r--r--src/Root.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Root.cpp b/src/Root.cpp
index b03a13382..efa21b775 100644
--- a/src/Root.cpp
+++ b/src/Root.cpp
@@ -269,12 +269,12 @@ void cRoot::LoadWorlds(cIniFile & IniFile)
{
// First get the default world
AString DefaultWorldName = IniFile.GetValueSet("Worlds", "DefaultWorld", "world");
- m_pDefaultWorld = new cWorld( DefaultWorldName.c_str());
+ m_pDefaultWorld = new cWorld(DefaultWorldName.c_str());
m_WorldsByName[ DefaultWorldName ] = m_pDefaultWorld;
// Then load the other worlds
unsigned int KeyNum = IniFile.FindKey("Worlds");
- unsigned int NumWorlds = IniFile.GetNumValues( KeyNum);
+ unsigned int NumWorlds = IniFile.GetNumValues(KeyNum);
if (NumWorlds <= 0)
{
return;