* P_LoopSidedefs() needed another fix as it shouldn't try to report errors found on the second loop.

* Updated to ZDoom r2543:
- Added a compatibility option to render all segs of a polyobject in the center's subsector and automatically set it for Hexen MAP36 and HEXDD MAP47.

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@894 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
gez 2010-08-15 13:10:53 +00:00
parent bd45d338fc
commit 18ae99a67a
11 changed files with 61 additions and 12 deletions

View file

@ -2169,7 +2169,7 @@ static void P_AllocateSideDefs (int count)
// [RH] Group sidedefs into loops so that we can easily determine
// what walls any particular wall neighbors.
static void P_LoopSidedefs ()
static void P_LoopSidedefs (bool firstloop)
{
int i;
@ -2234,7 +2234,7 @@ static void P_LoopSidedefs ()
right = sidetemp[right].b.first;
if (right == NO_SIDE)
if (firstloop && right == NO_SIDE)
{ // There is no right side!
Printf ("Line %d's right edge is unconnected\n", linemap[unsigned(line-lines)]);
continue;
@ -3697,7 +3697,7 @@ void P_SetupLevel (char *lumpname, int position)
}
times[6].Clock();
P_LoopSidedefs ();
P_LoopSidedefs (true);
times[6].Unclock();
linemap.Clear();
@ -3901,7 +3901,7 @@ void P_SetupLevel (char *lumpname, int position)
gl_PreprocessLevel();
times[16].Clock();
if (ForceNodeBuild) P_LoopSidedefs ();
if (ForceNodeBuild) P_LoopSidedefs (false);
PO_Init (); // Initialize the polyobjs
times[16].Unclock();