Skip to content
Snippets Groups Projects
Commit 3a2f959a authored by sphere's avatar sphere
Browse files

Disable sector increment warning

parent 667c15b5
Branches gzdb-merge2016-bugfixes
Tags
1 merge request!12GZDB 2016 merge
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment