Sorting the file lists properly

actorid
Alexander "Ace" Olofsson 13 years ago
parent 6acd900577
commit 60b95e7992

@ -155,6 +155,7 @@ class DirArchive: public Ogre::FileSystemArchive
filesind.push_back(small);
}
}
std::sort(filesind.begin(), filesind.end(), ciLessBoost());
std::string small;
std::string original = d.string();
if(cutoff < original.size())

Loading…
Cancel
Save