summaryrefslogtreecommitdiffstats
path: root/source/cMakeDir.cpp
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-10-26 15:07:39 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-10-26 15:07:39 +0200
commitbcc1450ba930d991e9569d05810aa4aada68869d (patch)
tree7971111b5db3664dd4bda3d56e938c4c5affea44 /source/cMakeDir.cpp
parentadded simple code for server side item durabilty on tool items that have durabilty. need to add block destroyed durability modifier. (diff)
downloadcuberite-bcc1450ba930d991e9569d05810aa4aada68869d.tar
cuberite-bcc1450ba930d991e9569d05810aa4aada68869d.tar.gz
cuberite-bcc1450ba930d991e9569d05810aa4aada68869d.tar.bz2
cuberite-bcc1450ba930d991e9569d05810aa4aada68869d.tar.lz
cuberite-bcc1450ba930d991e9569d05810aa4aada68869d.tar.xz
cuberite-bcc1450ba930d991e9569d05810aa4aada68869d.tar.zst
cuberite-bcc1450ba930d991e9569d05810aa4aada68869d.zip
Diffstat (limited to '')
-rw-r--r--source/cMakeDir.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cMakeDir.cpp b/source/cMakeDir.cpp
index a4d62afdd..60817d5aa 100644
--- a/source/cMakeDir.cpp
+++ b/source/cMakeDir.cpp
@@ -17,8 +17,8 @@ void cMakeDir::MakeDir( const char* a_Directory )
Attrib.nLength = sizeof(SECURITY_ATTRIBUTES);
Attrib.lpSecurityDescriptor = NULL;
Attrib.bInheritHandle = false;
- ::CreateDirectory("world", &Attrib);
+ ::CreateDirectory(a_Directory, &Attrib);
#else
- mkdir("world", S_IRWXU | S_IRWXG | S_IRWXO);
+ mkdir(a_Directory, S_IRWXU | S_IRWXG | S_IRWXO);
#endif
} \ No newline at end of file