diff options
Diffstat (limited to 'source/cRoot.cpp')
-rw-r--r-- | source/cRoot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cRoot.cpp b/source/cRoot.cpp index 4178a4569..165c908ae 100644 --- a/source/cRoot.cpp +++ b/source/cRoot.cpp @@ -26,7 +26,7 @@ cRoot* cRoot::s_Root = 0;
-typedef std::map< std::string, cWorld* > WorldMap;
+typedef std::map< AString, cWorld* > WorldMap;
struct cRoot::sRootState
{
cWorld* pDefaultWorld;
@@ -291,7 +291,7 @@ cWorld* cRoot::GetDefaultWorld() -cWorld* cRoot::GetWorld( const char* a_WorldName )
+cWorld* cRoot::GetWorld( const AString & a_WorldName )
{
WorldMap::iterator itr = m_pState->WorldsByName.find( a_WorldName );
if( itr != m_pState->WorldsByName.end() )
|