1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-07 03:45:31 +00:00

workaround for tga problem

This commit is contained in:
Marc Zinnschlag 2012-03-31 17:52:58 +02:00
parent a96599d96c
commit 08f8701b33

View file

@ -71,6 +71,9 @@ class DirArchive: public Ogre::FileSystemArchive
bool findFile(const String& filename, std::string& copy) const bool findFile(const String& filename, std::string& copy) const
{ {
if (filename.find(".tga") != std::string::npos)
return false;
{ {
String passed = filename; String passed = filename;
if(filename.at(filename.length() - 1) == '*' || filename.at(filename.length() - 1) == '?' || filename.at(filename.length() - 1) == '<' if(filename.at(filename.length() - 1) == '*' || filename.at(filename.length() - 1) == '?' || filename.at(filename.length() - 1) == '<'