mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-25 13:51:43 +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";
|
title = "Linedef Executor Trigger";
|
||||||
|
|
||||||
|
313
|
||||||
|
{
|
||||||
|
title = "No More Enemies - Once";
|
||||||
|
prefix = "(313)";
|
||||||
|
arg0
|
||||||
|
{
|
||||||
|
title = "Target sector tag";
|
||||||
|
type = 13;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
323
|
323
|
||||||
{
|
{
|
||||||
title = "NiGHTSerize";
|
title = "NiGHTSerize";
|
||||||
|
|
|
@ -1235,7 +1235,7 @@ void T_NoEnemiesSector(noenemies_t *nobaddies)
|
||||||
sector_t *sec = NULL;
|
sector_t *sec = NULL;
|
||||||
INT32 secnum = -1;
|
INT32 secnum = -1;
|
||||||
boolean FOFsector = false;
|
boolean FOFsector = false;
|
||||||
mtag_t tag = Tag_FGet(&nobaddies->sourceline->tags);
|
mtag_t tag = nobaddies->sourceline->args[0];
|
||||||
|
|
||||||
TAG_ITER_SECTORS(tag, secnum)
|
TAG_ITER_SECTORS(tag, secnum)
|
||||||
{
|
{
|
||||||
|
|
|
@ -3715,6 +3715,9 @@ static void P_ConvertBinaryMap(void)
|
||||||
else
|
else
|
||||||
lines[i].args[1] = 255;
|
lines[i].args[1] = 255;
|
||||||
break;
|
break;
|
||||||
|
case 313: //No more enemies - once
|
||||||
|
lines[i].args[0] = tag;
|
||||||
|
break;
|
||||||
case 323: //NiGHTSerize - Each time
|
case 323: //NiGHTSerize - Each time
|
||||||
case 324: //NiGHTSerize - Once
|
case 324: //NiGHTSerize - Once
|
||||||
case 325: //DeNiGHTSerize - Each time
|
case 325: //DeNiGHTSerize - Each time
|
||||||
|
|
Loading…
Reference in a new issue