diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-07 14:36:30 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-07 14:36:30 +0100 |
commit | 787382caf8d3f7f8df4598b29586b44b7b071c53 (patch) | |
tree | 347e1249bbe371f820cf408d99549fb8734e0ac0 /source/cRoot.cpp | |
parent | No need to reset zlib (copypasta error) (diff) | |
download | cuberite-787382caf8d3f7f8df4598b29586b44b7b071c53.tar cuberite-787382caf8d3f7f8df4598b29586b44b7b071c53.tar.gz cuberite-787382caf8d3f7f8df4598b29586b44b7b071c53.tar.bz2 cuberite-787382caf8d3f7f8df4598b29586b44b7b071c53.tar.lz cuberite-787382caf8d3f7f8df4598b29586b44b7b071c53.tar.xz cuberite-787382caf8d3f7f8df4598b29586b44b7b071c53.tar.zst cuberite-787382caf8d3f7f8df4598b29586b44b7b071c53.zip |
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() )
|