Remove unused (and broken in swrenderer) back boolean from FakeFlat interface

This commit is contained in:
Magnus Norddahl 2017-01-03 18:55:12 +01:00
commit aa11534033
5 changed files with 8 additions and 14 deletions

View file

@ -1934,7 +1934,7 @@ void AM_drawSubsectors()
points[j].Y = float(f_y + (f_h - (pt.y - m_y) * scale));
}
// For lighting and texture determination
sector_t *sec = Renderer->FakeFlat(subsectors[i].render_sector, &tempsec, &floorlight, &ceilinglight, false);
sector_t *sec = Renderer->FakeFlat(subsectors[i].render_sector, &tempsec, &floorlight, &ceilinglight);
// Find texture origin.
originpt.x = -sec->GetXOffset(sector_t::floor);
originpt.y = sec->GetYOffset(sector_t::floor);