mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 23:42:11 +00:00
Make linedef 96 skip the control sector
This commit is contained in:
parent
7d71d534d4
commit
eee894581a
1 changed files with 4 additions and 2 deletions
|
@ -2983,8 +2983,10 @@ static void P_AddBinaryMapTags(void)
|
|||
mtag_t tag = Tag_FGet(&lines[i].frontsector->tags);
|
||||
INT32 s;
|
||||
TAG_ITER_DECLARECOUNTER(0);
|
||||
TAG_ITER_SECTORS(0, tag, s)
|
||||
P_AddBinaryMapTagsFromLine(§ors[s], &lines[i]);
|
||||
TAG_ITER_SECTORS(0, tag, s) {
|
||||
if (s != lines[i].frontsector - sectors) // Skip the control sector
|
||||
P_AddBinaryMapTagsFromLine(§ors[s], &lines[i]);
|
||||
}
|
||||
} else if (lines[i].special == 97 || lines[i].special == 99) {
|
||||
P_AddBinaryMapTagsFromLine(lines[i].frontsector, &lines[i]);
|
||||
} else if (lines[i].special == 98 || lines[i].special == 99) {
|
||||
|
|
Loading…
Reference in a new issue