mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 17:59:56 +00:00
workaround for tga problem
This commit is contained in:
parent
a96599d96c
commit
08f8701b33
1 changed files with 7 additions and 4 deletions
|
@ -71,6 +71,9 @@ class DirArchive: public Ogre::FileSystemArchive
|
|||
|
||||
bool findFile(const String& filename, std::string& copy) const
|
||||
{
|
||||
if (filename.find(".tga") != std::string::npos)
|
||||
return false;
|
||||
|
||||
{
|
||||
String passed = filename;
|
||||
if(filename.at(filename.length() - 1) == '*' || filename.at(filename.length() - 1) == '?' || filename.at(filename.length() - 1) == '<'
|
||||
|
|
Loading…
Reference in a new issue