diff --git a/src/p_setup.cpp b/src/p_setup.cpp index a324a393a..50af213b5 100644 --- a/src/p_setup.cpp +++ b/src/p_setup.cpp @@ -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();