mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-31 04:40:55 +00:00
Fixed a bug where resetting the ceiling slope in the UDMF sector edit form would invert its original height
This commit is contained in:
parent
93cc15640f
commit
7d2e3db982
1 changed files with 1 additions and 1 deletions
|
@ -917,7 +917,7 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
diff = Math.Abs(Math.Round(s.CeilSlopeOffset) - s.CeilSlopeOffset);
|
||||
if (Math.Abs(s.CeilSlope.z) == 1.0 && diff < 0.000000001)
|
||||
{
|
||||
s.CeilHeight = -Convert.ToInt32(s.CeilSlopeOffset);
|
||||
s.CeilHeight = Convert.ToInt32(s.CeilSlopeOffset);
|
||||
s.CeilSlope = new Vector3D();
|
||||
s.CeilSlopeOffset = double.NaN;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue