mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-31 04:40:55 +00:00
linedefs with backsides only after removing a sector will now be correctly flipped
This commit is contained in:
parent
63b4f20172
commit
4ce26ad8fa
1 changed files with 7 additions and 0 deletions
|
@ -850,6 +850,13 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
}
|
||||
else
|
||||
{
|
||||
// If the line only has a back side left, flip the line and sides
|
||||
if((lines[i].Front == null) && (lines[i].Back != null))
|
||||
{
|
||||
lines[i].FlipVertices();
|
||||
lines[i].FlipSidedefs();
|
||||
}
|
||||
|
||||
// Update sided flags
|
||||
lines[i].ApplySidedFlags();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue