Adapt linedef type 313 to UDMF

This commit is contained in:
MascaraSnake 2021-09-26 20:42:01 +02:00
parent c9f510d096
commit 5f7babb53f
3 changed files with 15 additions and 1 deletions

View file

@ -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";

View file

@ -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)
{

View file

@ -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