mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-20 18:42:17 +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. (patch by Graf)
This commit is contained in:
parent
e2c2837aa5
commit
ea688fc613
1 changed files with 5 additions and 0 deletions
|
@ -3541,6 +3541,11 @@ void P_SetupLevel(const char *lumpname, int position, bool newGame)
|
|||
if (ForceNodeBuild)
|
||||
{
|
||||
BuildGLNodes = RequireGLNodes || multiplayer || demoplayback || demorecording || genglnodes;
|
||||
// In case the compatibility handler made changes to the map's layout
|
||||
for(auto &line : level.lines)
|
||||
{
|
||||
P_AdjustLine(&line);
|
||||
}
|
||||
|
||||
startTime = I_msTime();
|
||||
TArray<FNodeBuilder::FPolyStart> polyspots, anchors;
|
||||
|
|
Loading…
Reference in a new issue