diff --git a/Source/Core/Windows/ThingBrowser2Form.cs b/Source/Core/Windows/ThingBrowser2Form.cs index a6f76c7..c6ebacf 100644 --- a/Source/Core/Windows/ThingBrowser2Form.cs +++ b/Source/Core/Windows/ThingBrowser2Form.cs @@ -128,7 +128,7 @@ namespace CodeImp.DoomBuilder.Windows // Flags ThingTypeInfo ti = General.Map.Data.GetThingInfoEx(s_thingType); IDictionary newFlags = (ti == null || ti.Flags.Count == 0) ? General.Map.Config.ThingFlags : ti.Flags; - flags.UpdateCheckboxes(newFlags); + flags.UpdateCheckboxes(newFlags, General.Map.Config.ThingFlags); anglelabel.Text = (ti == null) ? "Angle:" : ti.AngleText + ":"; flagsvallabel.Text = (ti == null) ? "Flags value:" : ti.FlagsValueText + ":"; foreach (CheckBox c in flags.Checkboxes) @@ -142,7 +142,7 @@ namespace CodeImp.DoomBuilder.Windows posZ.AllowNegative = General.Map.FormatInterface.MinThingHeight < 0; // Update... - flags.UpdateCheckboxes(newFlags); + flags.UpdateCheckboxes(newFlags, General.Map.Config.ThingFlags); if (ti != null) { flagsvallabel.Text = ti.FlagsValueText + ":"; @@ -318,7 +318,7 @@ namespace CodeImp.DoomBuilder.Windows return; IDictionary newFlags = (thinginfo == null || thinginfo.Flags.Count == 0) ? General.Map.Config.ThingFlags : thinginfo.Flags; - flags.UpdateCheckboxes(newFlags); + flags.UpdateCheckboxes(newFlags, General.Map.Config.ThingFlags); anglelabel.Text = (thinginfo == null) ? "Angle:" : thinginfo.AngleText + ":"; flagsvallabel.Text = (thinginfo == null) ? "Flags value:" : thinginfo.FlagsValueText + ":"; }