mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-05-31 00:51:37 +00:00
Sector, Linedef, Thing Edit forms: when several map elements are selected, you can set a tag range by entering "++N" or "--N" as a tag.
This commit is contained in:
parent
566ff2855e
commit
bed613694d
9 changed files with 88 additions and 50 deletions
|
@ -224,12 +224,13 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
}
|
||||
|
||||
// Go for all sectors
|
||||
int tagoffset = 0; //mxd
|
||||
foreach(Sector s in sectors) {
|
||||
// Effects
|
||||
if(!effect.Empty) s.Effect = effect.Value;
|
||||
|
||||
// Action
|
||||
s.Tag = tagSelector.GetTag(s.Tag); //mxd
|
||||
s.Tag = General.Clamp(tagSelector.GetTag(s.Tag, tagoffset++), General.Map.FormatInterface.MinTag, General.Map.FormatInterface.MaxTag); //mxd
|
||||
}
|
||||
|
||||
// Done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue