Commit f1800c04 authored by bitplane's avatar bitplane

Fix for folder archives, reported by Karol Krizka.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2453 dfc29bdd-3216-0410-991c-e03cc46cb475
parent a7f1c19c
......@@ -176,7 +176,7 @@ bool CFileSystem::addFileArchive(const core::string<c16>& filename, bool ignoreC
}
// do we know what type it should be?
if (archiveType == EFAT_UNKNOWN)
if (archiveType == EFAT_UNKNOWN || archiveType == EFAT_FOLDER)
{
// try to load archive based on file name
for (i = 0; i < ArchiveLoader.size(); ++i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment