Recognize ML_EFFECT1 and ML_EFFECT2 on crumbling FOFs

This commit is contained in:
MascaraSnake 2020-05-02 10:40:35 +02:00
parent 312a2def3d
commit 538c81676b

View file

@ -2996,6 +2996,12 @@ static void P_ConvertBinaryMap(void)
lines[i].args[2] |= TMFC_AIRBOB;
if (lines[i].special >= 176 && lines[i].special <= 179)
lines[i].args[2] |= TMFC_FLOATBOB;
if (lines[i].flags & ML_EFFECT1)
lines[i].args[1] |= TMFT_DONTBLOCKOTHERS;
if (lines[i].flags & ML_EFFECT2)
lines[i].args[1] |= TMFT_DONTBLOCKPLAYER;
lines[i].special = 170;
break;
case 190: // FOF: Rising, solid, opaque, shadowcasting