mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 09:11:17 +00:00
- fixed: P_LoopSidedefs must be called again before setting up the polyobjects if the nodes were rebuilt. The original data is no longer valid in case vertexes were merged by the node builder.
SVN r2516 (trunk)
This commit is contained in:
parent
99e0adaf45
commit
e9c43fe908
1 changed files with 3 additions and 0 deletions
|
@ -3844,6 +3844,9 @@ void P_SetupLevel (char *lumpname, int position)
|
|||
P_SpawnSpecials ();
|
||||
|
||||
times[16].Clock();
|
||||
// The old sidedef looping data is no longer valid if the nodes were rebuilt
|
||||
// and vertexes merged so it has to be redone before setting up the polyobjects.
|
||||
if (ForceNodeBuild) P_LoopSidedefs ();
|
||||
PO_Init (); // Initialize the polyobjs
|
||||
times[16].Unclock();
|
||||
|
||||
|
|
Loading…
Reference in a new issue