mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Ignore a linedef tag of 0 when using linedef action 96.
This commit is contained in:
parent
786516fa5f
commit
52f9b47ce3
1 changed files with 1 additions and 1 deletions
|
@ -2995,7 +2995,7 @@ static void P_AddBinaryMapTags(void)
|
|||
}
|
||||
|
||||
for (j = 0; j < numsectors; j++) {
|
||||
boolean matches_target_tag = Tag_Find(§ors[j].tags, target_tag);
|
||||
boolean matches_target_tag = target_tag && Tag_Find(§ors[j].tags, target_tag);
|
||||
size_t k; for (k = 0; k < 4; k++) {
|
||||
if (lines[i].flags & ML_EFFECT5) {
|
||||
if (matches_target_tag || (offset_tags[k] && Tag_Find(§ors[j].tags, offset_tags[k]))) {
|
||||
|
|
Loading…
Reference in a new issue