- restore old portal checks for Action Doom 2 (as a hidden compatibility option.)

SVN r3018 (trunk)
This commit is contained in:
Christoph Oelckers 2010-12-02 15:08:44 +00:00
commit 74822572da
6 changed files with 33 additions and 14 deletions

View file

@ -975,6 +975,9 @@ void P_SetupPortals()
points.Push(pt);
}
// Maps using undefined portal hacks may not benefit from portal optimizations.
if (ib_compatflags & BCOMPATF_BADPORTALS) return;
for(unsigned i=0;i<points.Size(); i++)
{
if (points[i]->special1 == 0 && points[i]->Mate != NULL)