summaryrefslogtreecommitdiffstats
path: root/source/cRoot.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cRoot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cRoot.cpp b/source/cRoot.cpp
index 0ccee5f20..273bbe318 100644
--- a/source/cRoot.cpp
+++ b/source/cRoot.cpp
@@ -162,7 +162,7 @@ void cRoot::LoadWorlds()
cIniFile IniFile("settings.ini"); IniFile.ReadFile();
// First get the default world
- std::string DefaultWorldName = IniFile.GetValue("Worlds", "DefaultWorld", "world");
+ AString DefaultWorldName = IniFile.GetValue("Worlds", "DefaultWorld", "world");
m_pState->pDefaultWorld = new cWorld( DefaultWorldName.c_str() );
m_pState->pDefaultWorld->InitializeSpawn();
m_pState->WorldsByName[ DefaultWorldName ] = m_pState->pDefaultWorld;