mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 22:01:45 +00:00
Tag Explorer was not showing map elements with negative tag.
This commit is contained in:
parent
b6c0aeea42
commit
076d0cfe4b
1 changed files with 3 additions and 3 deletions
|
@ -118,7 +118,7 @@ namespace CodeImp.DoomBuilder.TagExplorer
|
|||
|
||||
if(!(things is MapElementCollection<Thing>)) { //don't want to enumerate when array is locked
|
||||
foreach(Thing t in things) {
|
||||
if((showTags && t.Tag > 0) || (showActions && t.Action > 0)) {
|
||||
if((showTags && t.Tag != 0) || (showActions && t.Action > 0)) {
|
||||
if(filteredTag != -1 && t.Tag != filteredTag)
|
||||
continue;
|
||||
if(filteredAction != -1 && t.Action != filteredAction)
|
||||
|
@ -242,7 +242,7 @@ namespace CodeImp.DoomBuilder.TagExplorer
|
|||
|
||||
if (!(sectors is MapElementCollection<Sector>)) { //don't want to enumerate when array is locked
|
||||
foreach (Sector s in sectors) {
|
||||
if ((showTags && s.Tag > 0) || (showActions && s.Effect > 0)) {
|
||||
if ((showTags && s.Tag != 0) || (showActions && s.Effect > 0)) {
|
||||
if (filteredTag != -1 && s.Tag != filteredTag)
|
||||
continue;
|
||||
if (filteredAction != -1 && s.Effect != filteredAction)
|
||||
|
@ -341,7 +341,7 @@ namespace CodeImp.DoomBuilder.TagExplorer
|
|||
|
||||
if (!(linedefs is MapElementCollection<Linedef>)) { //don't want to enumerate when array is locked
|
||||
foreach (Linedef l in linedefs) {
|
||||
if ((showTags && l.Tag > 0) || (showActions && l.Action > 0)) {
|
||||
if ((showTags && l.Tag != 0) || (showActions && l.Action > 0)) {
|
||||
if (filteredTag != -1 && l.Tag != filteredTag)
|
||||
continue;
|
||||
if (filteredAction != -1 && l.Action != filteredAction)
|
||||
|
|
Loading…
Reference in a new issue