- made the gross railing hack for Strife a compatibility option and restricted it to MAP04

The side effects here broke other maps and this is really too glitchy to be turned on unless really necesasary.
This commit is contained in:
Christoph Oelckers 2019-03-26 00:38:54 +01:00
commit 0341a3d75b
11 changed files with 12 additions and 11 deletions

View file

@ -976,7 +976,7 @@ bool PIT_CheckLine(FMultiBlockLinesIterator &mit, FMultiBlockLinesIterator::Chec
// better than Strife's handling of rails, which lets you jump into rails
// from either side. How long until somebody reports this as a bug and I'm
// forced to say, "It's not a bug. It's a feature?" Ugh.
(!(tm.thing->Level->flags2 & LEVEL2_RAILINGHACK) ||
(!(tm.thing->Level->i_compatflags2 & COMPATF2_RAILING) ||
open.bottom == tm.thing->Sector->floorplane.ZatPoint(ref)))
{
open.bottom += 32;