mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
overrides
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user