Disable sector increment warning

This commit is contained in:
spherallic 2023-01-09 16:30:21 +01:00
parent 667c15b59a
commit 3a2f959a6b

View file

@ -92,11 +92,11 @@ namespace CodeImp.DoomBuilder.Config
bitstep = bits[1].Index;
// Check the rest of the values
for(int i = 1; i < bits.Count; i++)
{
if(bits[i].Index - bits[i - 1].Index != bitstep)
General.ErrorLogger.Add(ErrorType.Warning, "Structure \"" + fullpath + "." + name + "\" contains options with mixed increments (option \"" + bits[i].Title + "\" increment (" + (bits[i - 1].Index - bits[i].Index) + ") doesn't match the structure increment (" + bitstep + ")).");
}
//for(int i = 1; i < bits.Count; i++)
//{
// if(bits[i].Index - bits[i - 1].Index != bitstep)
// General.ErrorLogger.Add(ErrorType.Warning, "Structure \"" + fullpath + "." + name + "\" contains options with mixed increments (option \"" + bits[i].Title + "\" increment (" + (bits[i - 1].Index - bits[i].Index) + ") doesn't match the structure increment (" + bitstep + ")).");
//}
}
// We have no destructor