diff options
author | madmaxoft <github@xoft.cz> | 2013-10-09 09:57:48 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-09 09:57:48 +0200 |
commit | 55999ee1187579179a70328808a4c856339ca97f (patch) | |
tree | 6335123ef5b8ff43b2e38e76282c45c61270b235 /source/World.cpp | |
parent | Added static cFile functions to Lua API. (diff) | |
download | cuberite-55999ee1187579179a70328808a4c856339ca97f.tar cuberite-55999ee1187579179a70328808a4c856339ca97f.tar.gz cuberite-55999ee1187579179a70328808a4c856339ca97f.tar.bz2 cuberite-55999ee1187579179a70328808a4c856339ca97f.tar.lz cuberite-55999ee1187579179a70328808a4c856339ca97f.tar.xz cuberite-55999ee1187579179a70328808a4c856339ca97f.tar.zst cuberite-55999ee1187579179a70328808a4c856339ca97f.zip |
Diffstat (limited to 'source/World.cpp')
-rw-r--r-- | source/World.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/World.cpp b/source/World.cpp index 96a4731d7..bbbe7d382 100644 --- a/source/World.cpp +++ b/source/World.cpp @@ -58,7 +58,6 @@ #include "Mobs/Zombie.h" #include "Mobs/Zombiepigman.h" -#include "OSSupport/MakeDir.h" #include "MersenneTwister.h" #include "Generating/Trees.h" #include "PluginManager.h" @@ -261,7 +260,7 @@ cWorld::cWorld(const AString & a_WorldName) : { LOGD("cWorld::cWorld(\"%s\")", a_WorldName.c_str()); - cMakeDir::MakeDir(m_WorldName.c_str()); + cFile::CreateFolder(FILE_IO_PREFIX + m_WorldName); } |