mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-21 12:01:05 +00:00
Allow linedef types 409/410 to change the trigger tag
This commit is contained in:
parent
37da148996
commit
af7c0f4d6c
3 changed files with 9 additions and 0 deletions
|
@ -3677,6 +3677,7 @@ udmf
|
|||
0 = "Add tag";
|
||||
1 = "Remove tag";
|
||||
2 = "Replace first tag";
|
||||
3 = "Change trigger tag";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3699,6 +3700,7 @@ udmf
|
|||
0 = "Add tag";
|
||||
1 = "Remove tag";
|
||||
2 = "Replace first tag";
|
||||
3 = "Change trigger tag";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2396,6 +2396,9 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
|
|||
default:
|
||||
Tag_SectorFSet(secnum, newtag);
|
||||
break;
|
||||
case TMT_TRIGGERTAG:
|
||||
sectors[secnum].triggertag = newtag;
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
@ -2418,6 +2421,9 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
|
|||
default:
|
||||
Tag_SectorFSet(secnum, newtag);
|
||||
break;
|
||||
case TMT_TRIGGERTAG:
|
||||
sectors[secnum].triggertag = newtag;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -306,6 +306,7 @@ typedef enum
|
|||
TMT_ADD = 0,
|
||||
TMT_REMOVE = 1,
|
||||
TMT_REPLACEFIRST = 2,
|
||||
TMT_TRIGGERTAG = 3,
|
||||
} textmaptagoptions_t;
|
||||
|
||||
typedef enum
|
||||
|
|
Loading…
Reference in a new issue