diff --git a/FS.cpp b/FS.cpp index e84ff1d4..e2799d81 100644 --- a/FS.cpp +++ b/FS.cpp @@ -108,7 +108,7 @@ namespace fs { bool HashedStorage::Init(const char * chars, size_t count) { if (!boost::filesystem::exists(root)) { - boost::filesystem::create_directory(root); + boost::filesystem::create_directories(root); } for (size_t i = 0; i < count; i++) {