mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2025-02-25 21:33:06 +00:00
fix
This commit is contained in:
parent
9ff08fe97b
commit
cafa42dccd
1 changed files with 3 additions and 3 deletions
|
@ -128,7 +128,7 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
// Flags
|
||||
ThingTypeInfo ti = General.Map.Data.GetThingInfoEx(s_thingType);
|
||||
IDictionary<string, string> 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<string, string> 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 + ":";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue