1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

overrides

This commit is contained in:
Laserlicht
2024-08-31 23:13:40 +02:00
parent 0280254810
commit c803e8011b
2 changed files with 227 additions and 8 deletions

View File

@@ -209,7 +209,7 @@ void ChroniclesExtractor::extractFiles(int no)
dest.refresh();
for(auto & entry : dest.entryList())
{
if(entry.startsWith("HPS"))
if(entry.toUpper().startsWith("HPS") || entry.toUpper().startsWith("HPL"))
dest.rename(entry, "Hc_" + entry);
if(!entry.startsWith("Hc" + QString::number(no) + "_"))
dest.rename(entry, "Hc" + QString::number(no) + "_" + entry);