mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2025-02-07 08:21:10 +00:00
Fix possible error with resetting linedef actions/tags
This commit is contained in:
parent
d92736ad2f
commit
e6cff92056
1 changed files with 5 additions and 2 deletions
|
@ -1649,8 +1649,11 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
l.Tag = 0;
|
||||
|
||||
// reset hacky flat alignment
|
||||
l.Front.Sector.UpdateFloorSurface();
|
||||
l.Front.Sector.UpdateCeilingSurface();
|
||||
if (l.Front.Sector != null)
|
||||
{
|
||||
l.Front.Sector.UpdateFloorSurface();
|
||||
l.Front.Sector.UpdateCeilingSurface();
|
||||
}
|
||||
}
|
||||
|
||||
// Update cache values
|
||||
|
|
Loading…
Reference in a new issue