(MblOpener): additional sanity check to reduce false positives.

This commit is contained in:
morkt 2016-05-21 10:29:57 +04:00
parent c493e8a307
commit 6d5b49ab3e

View File

@ -140,7 +140,7 @@ namespace GameRes.Formats.Marble
dir.Add (entry); dir.Add (entry);
index_offset += 8; index_offset += 8;
} }
if (0 == dir.Count) if (0 == dir.Count || (1 == dir.Count && count > 1))
return null; return null;
if (contains_scripts) if (contains_scripts)
{ {