Browse Source

Fixed early return in PcxToPng convertor

 Convertor would abort if no regular file found, instead of continuing to next item.
krs 2 years ago
parent
commit
774a8e024c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mapeditor/resourceExtractor/ResourceConverter.cpp

+ 1 - 1
mapeditor/resourceExtractor/ResourceConverter.cpp

@@ -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();