mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-17 01:22:18 +00:00
Slopes in 3D floors work again
This commit is contained in:
parent
7e84883125
commit
0efb786a97
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue