Fix FOF control line checks after UDB merge

This commit is contained in:
spherallic 2024-07-01 11:20:49 +02:00
parent 5e549981ec
commit de8d8f797f
2 changed files with 3 additions and 3 deletions

View file

@ -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
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
continue;

View file

@ -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
continue;
if (ld.Front == null) // Must have a front side
continue;
Sector cs = ld.Front.Sector;
// Skip sectors that don't have a slope