diff --git a/Source/Core/Config/GeneralizedOption.cs b/Source/Core/Config/GeneralizedOption.cs index 467b2037..67d4f552 100755 --- a/Source/Core/Config/GeneralizedOption.cs +++ b/Source/Core/Config/GeneralizedOption.cs @@ -90,6 +90,9 @@ namespace CodeImp.DoomBuilder.Config bits.Sort(); //mxd. Determine and check increment steps + // biwa. Setting this to be in debug build only. There are valid scenarios where this isn't a problem, specifically MBF21, + // where the "alternate damage mode" for sectors is made up of 3 bits. + #if DEBUG if(bits.Count > 1) { // Use the second bit as the structure's step @@ -102,7 +105,8 @@ namespace CodeImp.DoomBuilder.Config 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 + "))."); } } - + #endif + // We have no destructor GC.SuppressFinalize(this); }