mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-26 14:13:18 +00:00
# fix permissions of created directories
also took the opportunity to move file_system_posix to file_system since a further FS abstraction layer = YAGNI. also namespaced file_system_util. This was SVN commit r7074.
This commit is contained in:
@@ -39,7 +39,7 @@ static LibError LoadTechThunk( const VfsPath& pathname, const FileInfo& UNUSED(f
|
||||
int CTechnologyCollection::LoadTechnologies()
|
||||
{
|
||||
// Load all files in techs/ and subdirectories.
|
||||
THROW_ERR( fs_ForEachFile(g_VFS, "technologies/", LoadTechThunk, (uintptr_t)this, "*.xml", DIR_RECURSIVE));
|
||||
THROW_ERR( fs_util::ForEachFile(g_VFS, "technologies/", LoadTechThunk, (uintptr_t)this, "*.xml", fs_util::DIR_RECURSIVE));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user