Remove temporary FOF setup code

This commit is contained in:
MascaraSnake 2020-05-02 23:33:07 +02:00
parent f8f773d6e7
commit 6949b70dbf
2 changed files with 0 additions and 18 deletions

View file

@ -3309,17 +3309,6 @@ static void P_ConvertBinaryMap(void)
case 908: //Translucent wall (90%)
lines[i].alpha = ((909 - lines[i].special) << FRACBITS)/10;
break;
default:
// \todo Remove once all FOF types are converted
if (lines[i].special >= 100 && lines[i].special < 300)
{
lines[i].args[0] = lines[i].tag;
if (sides[lines[i].sidenum[0]].toptexture > 0)
lines[i].alpha = (sides[lines[i].sidenum[0]].toptexture << FRACBITS)/255;
else
lines[i].alpha = FRACUNIT/2;
}
break;
}
}

View file

@ -5807,13 +5807,6 @@ static ffloor_t *P_AddFakeFloor(sector_t *sec, sector_t *sec2, line_t *master, f
if (sec2->hasslope)
sec->hasslope = true;
// \todo Remove once all FOFs are adapted
if ((flags & FF_SOLID) && (master->flags & ML_EFFECT1)) // Block player only
flags &= ~FF_BLOCKOTHERS;
if ((flags & FF_SOLID) && (master->flags & ML_EFFECT2)) // Block all BUT player
flags &= ~FF_BLOCKPLAYER;
fflr->spawnflags = fflr->flags = flags;
fflr->master = master;
fflr->norender = INFTICS;