Moved cMakeDir::MakeDir to cFile::CreateFolder.

And exported to Lua.
This commit is contained in:
madmaxoft
2013-10-09 09:57:48 +02:00
parent 2ff882f239
commit 55999ee118
12 changed files with 66 additions and 70 deletions
+1 -2
View File
@@ -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);
}