mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-22 03:41:47 +00:00
Fix FOF control line checks after UDB merge
This commit is contained in:
parent
5e549981ec
commit
de8d8f797f
2 changed files with 3 additions and 3 deletions
|
@ -455,9 +455,6 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
||||||
if (ld.Args[0] == 0) // First argument of the action is the sector tag. 0 is not a valid value
|
if (ld.Args[0] == 0) // First argument of the action is the sector tag. 0 is not a valid value
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (ld.Front.Sector == null) // In case we somehow end up with a stray FOF line
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if (ld.Front == null) // Must have a front side
|
if (ld.Front == null) // Must have a front side
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
|
@ -1654,6 +1654,9 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
||||||
if (ld.Args[0] == 0) // First argument of the action is the sector tag. 0 is not a valid value
|
if (ld.Args[0] == 0) // First argument of the action is the sector tag. 0 is not a valid value
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (ld.Front == null) // Must have a front side
|
||||||
|
continue;
|
||||||
|
|
||||||
Sector cs = ld.Front.Sector;
|
Sector cs = ld.Front.Sector;
|
||||||
|
|
||||||
// Skip sectors that don't have a slope
|
// Skip sectors that don't have a slope
|
||||||
|
|
Loading…
Reference in a new issue