(ArchiveFileSystem): check archive directory for duplicates.

This commit is contained in:
morkt 2015-09-03 17:15:39 +04:00
parent a647b68fed
commit 489a00cf7b

View File

@ -185,6 +185,7 @@ namespace GameRes
m_dir = new Dictionary<string, Entry> (arc.Dir.Count, StringComparer.InvariantCultureIgnoreCase);
foreach (var entry in arc.Dir)
{
if (!m_dir.ContainsKey (entry.Name))
m_dir.Add (entry.Name, entry);
}
}