diff options
author | madmaxoft <github@xoft.cz> | 2014-07-30 10:06:18 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-30 10:06:18 +0200 |
commit | f095e770b84178ad45cbf3ba484b6ee18a239cb7 (patch) | |
tree | 70cbfedf25e0abc83655471a8ce44fee99b878f6 /src/Root.cpp | |
parent | Fixed "Dependency" typos (diff) | |
parent | Change Group->SetColor() again. (diff) | |
download | cuberite-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 'src/Root.cpp')
-rw-r--r-- | src/Root.cpp | 4 |
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; |