- Fixed: Not finding a polyobject while looking for one was not handled, because the test condition was always true.

SVN r3986 (trunk)
This commit is contained in:
Randy Heit 2012-12-08 03:48:23 +00:00
parent 18a2a6c138
commit c5c3465ca5

View file

@ -322,7 +322,7 @@ void FNodeBuilder::FindPolyContainers (TArray<FPolyStart> &spots, TArray<FPolySt
}
}
}
if (closestseg >= 0)
if (closestdist != FIXED_MAX)
{
loop = MarkLoop (closestseg, loop);
P(Printf ("Found polyobj in sector %d (loop %d)\n", Segs[closestseg].frontsector,