Fixed missing 3D floor trace check

This commit is contained in:
Boondorl 2024-12-13 09:38:23 -05:00 committed by Nash Muhandes
commit 8b03f32ce6

View file

@ -356,7 +356,7 @@ void FTraceInfo::Setup3DFloors()
if (bf < ff_bottom)
{
CurSector->floorplane = *rover->bottom.plane;
CurSector->SetTexture(sector_t::floor, *rover->bottom.texture, false);
CurSector->SetTexture(sector_t::floor, *rover->bottom.texture, false, false);
CurSector->ClearPortal(sector_t::floor);
bf = ff_bottom;
}
@ -364,7 +364,7 @@ void FTraceInfo::Setup3DFloors()
if (bc > ff_top)
{
CurSector->ceilingplane = *rover->top.plane;
CurSector->SetTexture(sector_t::ceiling, *rover->top.texture, false);
CurSector->SetTexture(sector_t::ceiling, *rover->top.texture, false, false);
CurSector->ClearPortal(sector_t::ceiling);
bc = ff_top;
}