1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fixed early return in PcxToPng convertor

Convertor would abort if no regular file found, instead of continuing to next item.
This commit is contained in:
krs 2023-01-17 01:13:32 +02:00 committed by Ivan Savenko
parent fd90653e25
commit 774a8e024c

View File

@ -45,7 +45,7 @@ void ResourceConverter::doConvertPcxToPng(const bfs::path & sourceFolder, bool d
try
{
if(!bfs::is_regular_file(directoryEntry))
return;
continue;
std::string filePath = directoryEntry.path().string();
std::string fileStem = directoryEntry.path().stem().string();