1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Fix regressions

This commit is contained in:
Ivan Savenko
2023-09-04 14:29:02 +03:00
parent 0f88b8969b
commit 9cfcf5ea19
13 changed files with 45 additions and 38 deletions

View File

@ -70,7 +70,7 @@ std::unordered_set<ResourcePath> CFilesystemLoader::getFilteredFiles(std::functi
bool CFilesystemLoader::createResource(const ResourcePath & resID, bool update)
{
std::string filename = resID.getOriginalName();
std::string filename = resID.getOriginalName() + '.' + boost::to_lower_copy(EResTypeHelper::getEResTypeAsString(resID.getType()));
if (fileList.find(resID) != fileList.end())
return true;