Take advantage of new enum ordering

This commit is contained in:
Matt Nadareski
2016-05-11 10:57:00 -07:00
parent 889b265c4f
commit 2844bac565
2 changed files with 4 additions and 4 deletions

View File

@@ -119,7 +119,7 @@ namespace SabreTools
foreach (RomData rom in temp)
{
if (rom.Dupe != DupeType.ExternalHash && rom.Dupe != DupeType.ExternalAll)
if (rom.Dupe < DupeType.ExternalHash)
{
if (diffed.ContainsKey(key))
{
@@ -178,7 +178,7 @@ namespace SabreTools
foreach (RomData rom in temp)
{
if (rom.Dupe == DupeType.ExternalHash || rom.Dupe == DupeType.ExternalAll)
if (rom.Dupe >= DupeType.ExternalHash)
{
if (duplicates.ContainsKey(key))
{