Slopes in 3D floors work again

This commit is contained in:
biwa 2020-01-03 01:11:23 +01:00
parent 7e84883125
commit 0efb786a97

View file

@ -353,8 +353,8 @@ namespace CodeImp.DoomBuilder.VisualModes
{
Vector2D center = new Vector2D(l.sector.BBox.X + l.sector.BBox.Width / 2,
l.sector.BBox.Y + l.sector.BBox.Height / 2);
if (l.plane.Normal.z >= 0.0f)
if (l.plane.Normal.z >= 0.0f && !l.extrafloor)
{
l.sector.FloorSlope = plane.Normal;
l.sector.FloorSlopeOffset = plane.Offset;