mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-12-03 17:12:06 +00:00
TagExplorer: incorrect sector index was used.
This commit is contained in:
parent
16cc4d8a8d
commit
8ebd348e44
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ namespace CodeImp.DoomBuilder.TagExplorer
|
|||
|
||||
public NodeInfo(Sector s) {
|
||||
type = NodeInfoType.SECTOR;
|
||||
index = s.FixedIndex;
|
||||
index = s.Index;
|
||||
action = s.Effect;
|
||||
tag = s.Tag;
|
||||
}
|
||||
|
@ -133,7 +133,7 @@ namespace CodeImp.DoomBuilder.TagExplorer
|
|||
comment = s.Fields["comment"].Value.ToString();
|
||||
isDefaultName = false;
|
||||
}
|
||||
return combineName(comment.Length == 0 ? NodeInfoDefaultName.SECTOR : comment, s.Tag, s.Effect, s.FixedIndex, sortMode, isDefaultName);
|
||||
return combineName(comment.Length == 0 ? NodeInfoDefaultName.SECTOR : comment, s.Tag, s.Effect, s.Index, sortMode, isDefaultName);
|
||||
}
|
||||
|
||||
private string getLinedefName(Linedef l, ref string comment, string sortMode) {
|
||||
|
|
Loading…
Reference in a new issue