Implement FOF types 202 and 223

This commit is contained in:
MascaraSnake 2020-04-14 09:06:02 +02:00
parent 60e589e92a
commit fdb46e5d14
2 changed files with 26 additions and 0 deletions

View file

@ -1601,6 +1601,28 @@ udmf
} }
} }
202
{
title = "Fog Block";
prefix = "(202);
arg0
{
title = "Target sector tag";
type = 13;
}
}
223
{
title = "Intangible, Invisible";
prefix = "(223);
arg0
{
title = "Target sector tag";
type = 13;
}
}
linedefexecmisc linedefexecmisc
{ {
title = "Linedef Executor (misc.)"; title = "Linedef Executor (misc.)";

View file

@ -2927,6 +2927,10 @@ static void P_ConvertBinaryMap(void)
lines[i].args[1] = 1; lines[i].args[1] = 1;
lines[i].special = 200; lines[i].special = 200;
break; break;
case 202: //FOF: Fog block
case 223: //FOF: Intangible, invisible
lines[i].args[0] = lines[i].tag;
break;
case 443: //Call Lua function case 443: //Call Lua function
if (lines[i].text) if (lines[i].text)
{ {