diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-07-27 00:39:39 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-07-27 00:39:39 +0200 |
commit | a5cca16abe524fdbd756908ac157a0c9881463f3 (patch) | |
tree | f677b281875fe89bc4ec349330d2ae13c18b7c75 /src/Root.cpp | |
parent | Fixed plugin count and fixed plugin loading, when settings.ini was regenerated. (diff) | |
download | cuberite-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 '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 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; |