summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-30 10:06:18 +0200
committermadmaxoft <github@xoft.cz>2014-07-30 10:06:18 +0200
commitf095e770b84178ad45cbf3ba484b6ee18a239cb7 (patch)
tree70cbfedf25e0abc83655471a8ce44fee99b878f6 /src/Root.cpp
parentFixed "Dependency" typos (diff)
parentChange Group->SetColor() again. (diff)
downloadcuberite-f095e770b84178ad45cbf3ba484b6ee18a239cb7.tar
cuberite-f095e770b84178ad45cbf3ba484b6ee18a239cb7.tar.gz
cuberite-f095e770b84178ad45cbf3ba484b6ee18a239cb7.tar.bz2
cuberite-f095e770b84178ad45cbf3ba484b6ee18a239cb7.tar.lz
cuberite-f095e770b84178ad45cbf3ba484b6ee18a239cb7.tar.xz
cuberite-f095e770b84178ad45cbf3ba484b6ee18a239cb7.tar.zst
cuberite-f095e770b84178ad45cbf3ba484b6ee18a239cb7.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 b65e9b067..af6aa5efb 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;