mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
Sorting the file lists properly
This commit is contained in:
parent
6acd900577
commit
60b95e7992
@ -155,6 +155,7 @@ class DirArchive: public Ogre::FileSystemArchive
|
|||||||
filesind.push_back(small);
|
filesind.push_back(small);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
std::sort(filesind.begin(), filesind.end(), ciLessBoost());
|
||||||
std::string small;
|
std::string small;
|
||||||
std::string original = d.string();
|
std::string original = d.string();
|
||||||
if(cutoff < original.size())
|
if(cutoff < original.size())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user