summaryrefslogtreecommitdiffstats
path: root/source/GroupManager.cpp
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-18 23:54:56 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-18 23:54:56 +0200
commit2a197705ac8785e01a48fa1ac5893d3bb876fd0a (patch)
treed0168a1accaab2240dbf8f16880300a27baa7daf /source/GroupManager.cpp
parentFixed a few bugs in fluid placement - fluid into other fluid, fluid into washable blocks. (diff)
downloadcuberite-2a197705ac8785e01a48fa1ac5893d3bb876fd0a.tar
cuberite-2a197705ac8785e01a48fa1ac5893d3bb876fd0a.tar.gz
cuberite-2a197705ac8785e01a48fa1ac5893d3bb876fd0a.tar.bz2
cuberite-2a197705ac8785e01a48fa1ac5893d3bb876fd0a.tar.lz
cuberite-2a197705ac8785e01a48fa1ac5893d3bb876fd0a.tar.xz
cuberite-2a197705ac8785e01a48fa1ac5893d3bb876fd0a.tar.zst
cuberite-2a197705ac8785e01a48fa1ac5893d3bb876fd0a.zip
Diffstat (limited to 'source/GroupManager.cpp')
-rw-r--r--source/GroupManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/GroupManager.cpp b/source/GroupManager.cpp
index 982b67b45..98357ffa9 100644
--- a/source/GroupManager.cpp
+++ b/source/GroupManager.cpp
@@ -11,7 +11,7 @@
-typedef std::map< std::string, cGroup* > GroupMap;
+typedef std::map< AString, cGroup* > GroupMap;
struct cGroupManager::sGroupManagerState
{
GroupMap Groups;
@@ -92,7 +92,7 @@ cGroupManager::cGroupManager()
LOG("-- Done Loading Groups --");
}
-cGroup* cGroupManager::GetGroup( const char* a_Name )
+cGroup* cGroupManager::GetGroup( const AString & a_Name )
{
GroupMap::iterator itr = m_pState->Groups.find( a_Name );
if( itr != m_pState->Groups.end() )