mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- recalculate the line deltas if a nodebuild is needed
One potential cause is moving around vertices in which case these do not match anymore
This commit is contained in:
parent
8872125f96
commit
f22121a9df
1 changed files with 6 additions and 1 deletions
|
@ -3105,6 +3105,11 @@ void MapLoader::LoadLevel(MapData *map, const char *lumpname, int position)
|
|||
if (ForceNodeBuild)
|
||||
{
|
||||
BuildGLNodes = true;
|
||||
// In case the compatibility handler made changes to the map's layout
|
||||
for(auto &line : Level->lines)
|
||||
{
|
||||
line.AdjustLine();
|
||||
}
|
||||
|
||||
startTime = I_msTime();
|
||||
TArray<FNodeBuilder::FPolyStart> polyspots, anchors;
|
||||
|
|
Loading…
Reference in a new issue