Permit Unknown Dungeon/Secret Base hatch locations

This commit is contained in:
sora10pls
2023-05-14 15:16:31 -04:00
parent 3b697a5da1
commit 2bdee8c87d

View File

@@ -7,7 +7,7 @@ public static bool IsValidMet6XY(int location)
const int min = 6;
const int max = 168;
var delta = location - min;
if ((uint)delta >= max - min)
if ((uint)delta > max - min)
return false;
if (location % 2 != 0)
@@ -20,7 +20,7 @@ public static bool IsValidMet6AO(int location)
const int min = 170;
const int max = 354;
var delta = location - min;
if ((uint)delta >= max - min)
if ((uint)delta > max - min)
return false;
if (location % 2 != 0)