1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 18:29:55 +00:00

include members of BSAArchives in Ogres resource indices

This commit is contained in:
Nathan Jeffords 2013-01-04 00:02:57 -08:00
parent 39d27b87c9
commit 43cd88a24e

View file

@ -249,6 +249,13 @@ public:
//std::cout << "find(" << pattern << ", " << recursive
// << ", " << dirs << ")\n";
StringVectorPtr ptr = StringVectorPtr(new StringVector());
BSAFile::FileList const & files = arc.getList ();
if (pattern == "*")
for (BSAFile::FileList::const_iterator i = files.begin (); i != files.end (); ++i)
ptr->push_back (i->name);
return ptr;
}