diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-10-26 15:07:39 +0200 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-10-26 15:07:39 +0200 |
commit | bcc1450ba930d991e9569d05810aa4aada68869d (patch) | |
tree | 7971111b5db3664dd4bda3d56e938c4c5affea44 /source/cMakeDir.cpp | |
parent | added simple code for server side item durabilty on tool items that have durabilty. need to add block destroyed durability modifier. (diff) | |
download | cuberite-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 'source/cMakeDir.cpp')
-rw-r--r-- | source/cMakeDir.cpp | 4 |
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 |