- 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:
Christoph Oelckers 2010-08-12 06:43:12 +00:00
parent 99e0adaf45
commit e9c43fe908

View file

@ -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();