1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-02 21:39:41 +00:00

Fix broken loose file resources when using Ogre 1.9

This commit is contained in:
scrawl 2013-04-29 12:32:24 +02:00
parent 11a45b3034
commit d5c7a26041

View file

@ -313,7 +313,7 @@ public:
void destroyInstance( Archive* arch) { delete arch; }
};
class DirArchiveFactory : public FileSystemArchiveFactory
class DirArchiveFactory : public ArchiveFactory
{
public:
const String& getType() const
@ -327,6 +327,11 @@ public:
return new DirArchive(name);
}
virtual Archive* createInstance(const String& name, bool readOnly)
{
return new DirArchive(name);
}
void destroyInstance( Archive* arch) { delete arch; }
};