mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
Disable sector increment warning
This commit is contained in:
parent
667c15b59a
commit
3a2f959a6b
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue