summaryrefslogtreecommitdiffstats
path: root/source/World.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-09 09:57:48 +0200
committermadmaxoft <github@xoft.cz>2013-10-09 09:57:48 +0200
commit55999ee1187579179a70328808a4c856339ca97f (patch)
tree6335123ef5b8ff43b2e38e76282c45c61270b235 /source/World.cpp
parentAdded static cFile functions to Lua API. (diff)
downloadcuberite-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.cpp3
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);
}