- always call P_LoopSidedefs before initializing polyobjects.

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@900 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
Christoph Oelckers 2010-08-20 19:42:21 +00:00
parent 19d37316d3
commit 9b3e28d936

View file

@ -3901,7 +3901,9 @@ void P_SetupLevel (char *lumpname, int position)
gl_PreprocessLevel();
times[16].Clock();
if (ForceNodeBuild) P_LoopSidedefs (false);
// Screw it! I have no desire to track down all cases where this is necessary just to save a few
// microseconds in the case the second P_LoopSidedefs call is not needed.
/*if (ForceNodeBuild)*/ P_LoopSidedefs (false);
PO_Init (); // Initialize the polyobjs
times[16].Unclock();