From 8ebd348e442c42dcf921a3ad227eb91411aa1c9a Mon Sep 17 00:00:00 2001 From: MaxED Date: Wed, 19 Jun 2013 11:36:20 +0000 Subject: [PATCH] TagExplorer: incorrect sector index was used. --- Source/Plugins/TagExplorer/NodeInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Plugins/TagExplorer/NodeInfo.cs b/Source/Plugins/TagExplorer/NodeInfo.cs index e0174fe5..c67267f7 100644 --- a/Source/Plugins/TagExplorer/NodeInfo.cs +++ b/Source/Plugins/TagExplorer/NodeInfo.cs @@ -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) {