Apply patch by marius1309 to fix #939, thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -980,7 +980,8 @@ void FileManager::listFiles(std::set<std::string>& result,
|
||||
*/
|
||||
void FileManager::checkAndCreateDirForAddons(const std::string &dir)
|
||||
{
|
||||
bool success = checkAndCreateDirectory(dir);
|
||||
// Tries to create directory recursively
|
||||
bool success = checkAndCreateDirectoryP(dir);
|
||||
if(!success)
|
||||
{
|
||||
Log::warn("FileManager", "There is a problem with the addons dir.");
|
||||
|
||||
Reference in New Issue
Block a user