mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-25 05:41:42 +00:00
Adapt linedef type 313 to UDMF
This commit is contained in:
parent
c9f510d096
commit
5f7babb53f
3 changed files with 15 additions and 1 deletions
|
@ -2508,6 +2508,17 @@ udmf
|
|||
{
|
||||
title = "Linedef Executor Trigger";
|
||||
|
||||
313
|
||||
{
|
||||
title = "No More Enemies - Once";
|
||||
prefix = "(313)";
|
||||
arg0
|
||||
{
|
||||
title = "Target sector tag";
|
||||
type = 13;
|
||||
}
|
||||
}
|
||||
|
||||
323
|
||||
{
|
||||
title = "NiGHTSerize";
|
||||
|
|
|
@ -1235,7 +1235,7 @@ void T_NoEnemiesSector(noenemies_t *nobaddies)
|
|||
sector_t *sec = NULL;
|
||||
INT32 secnum = -1;
|
||||
boolean FOFsector = false;
|
||||
mtag_t tag = Tag_FGet(&nobaddies->sourceline->tags);
|
||||
mtag_t tag = nobaddies->sourceline->args[0];
|
||||
|
||||
TAG_ITER_SECTORS(tag, secnum)
|
||||
{
|
||||
|
|
|
@ -3715,6 +3715,9 @@ static void P_ConvertBinaryMap(void)
|
|||
else
|
||||
lines[i].args[1] = 255;
|
||||
break;
|
||||
case 313: //No more enemies - once
|
||||
lines[i].args[0] = tag;
|
||||
break;
|
||||
case 323: //NiGHTSerize - Each time
|
||||
case 324: //NiGHTSerize - Once
|
||||
case 325: //DeNiGHTSerize - Each time
|
||||
|
|
Loading…
Reference in a new issue