Make path check use absolutePaths on both sides. Fixes duplicated archive insertion problems.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2878 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
6c62592d5b
commit
590cd72782
|
@ -199,7 +199,7 @@ bool CFileSystem::addFileArchive(const io::path& filename, bool ignoreCase,
|
|||
// check if the archive was already loaded
|
||||
for (i = 0; i < FileArchives.size(); ++i)
|
||||
{
|
||||
if (filename == FileArchives[i]->getFileList()->getPath())
|
||||
if (getAbsolutePath(filename) == FileArchives[i]->getFileList()->getPath())
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue