Visual Mode: fixed a crash when toggling visual vertex slope picking and the map contains double-sided linedefs without a front sidedef. Fixes #928

This commit is contained in:
biwa 2023-07-09 14:18:24 +02:00
parent f3ac4c39a4
commit 58480f5b31

View file

@ -37,7 +37,7 @@ namespace CodeImp.DoomBuilder.VisualModes
angle = line.GetAngle();
if (ld.Front.Sector != s)
if (ld.Front?.Sector != s)
clockwise = !clockwise;
}
}