Skip to content
Snippets Groups Projects
Commit 0efb786a authored by biwa's avatar biwa
Browse files

Slopes in 3D floors work again

parent 7e848831
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment