mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-29 15:11:56 +00:00
Map element associations: fixed a problem where things that have a argument of type tag set to 0 were referencing all things with tag 0. Fixes #718
This commit is contained in:
parent
98d32f7946
commit
f8e0f0b25b
1 changed files with 2 additions and 1 deletions
|
@ -550,7 +550,8 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
||||||
{
|
{
|
||||||
for (int i = 0; i < Linedef.NUM_ARGS; i++)
|
for (int i = 0; i < Linedef.NUM_ARGS; i++)
|
||||||
{
|
{
|
||||||
if ((ti.Args[i].Type == (int)UniversalType.SectorTag ||
|
if (actionargs[i] != 0 && // Ignore all args that reference tag 0, since that are likely the majority of all elements
|
||||||
|
(ti.Args[i].Type == (int)UniversalType.SectorTag ||
|
||||||
ti.Args[i].Type == (int)UniversalType.LinedefTag ||
|
ti.Args[i].Type == (int)UniversalType.LinedefTag ||
|
||||||
ti.Args[i].Type == (int)UniversalType.ThingTag))
|
ti.Args[i].Type == (int)UniversalType.ThingTag))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue