mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix resource creation
This commit is contained in:
@@ -128,9 +128,9 @@ std::unordered_set<ResourcePath> CFilesystemList::getFilteredFiles(std::function
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool CFilesystemList::createResource(const ResourcePath & filename, bool update)
|
||||
bool CFilesystemList::createResource(const std::string & filename, bool update)
|
||||
{
|
||||
logGlobal->trace("Creating %s", filename.getOriginalName());
|
||||
logGlobal->trace("Creating %s", filename);
|
||||
for (auto & loader : boost::adaptors::reverse(loaders))
|
||||
{
|
||||
if (writeableLoaders.count(loader.get()) != 0 // writeable,
|
||||
|
||||
Reference in New Issue
Block a user