- Fixed: PIT_StompThing never checked for COMPATF_NO_PASSMOBJ.

- Fixed: COMPATF_TRACE returned true for all two-sided lines, not just for
  those with the same sector on both sides.

SVN r206 (trunk)
This commit is contained in:
Christoph Oelckers 2006-06-21 11:47:27 +00:00
commit e2ac4c1168
4 changed files with 9 additions and 4 deletions

View file

@ -280,7 +280,7 @@ BOOL PIT_StompThing (AActor *thing)
// [RH] Z-Check
// But not if not MF2_PASSMOBJ or MF3_DONTOVERLAP are set!
// Otherwise those things would get stuck inside each other.
if (tmthing->flags2&MF2_PASSMOBJ)
if ((tmthing->flags2 & MF2_PASSMOBJ || thing->flags4 & MF4_ACTLIKEBRIDGE) && !(i_compatflags & COMPATF_NO_PASSMOBJ))
{
if (!(thing->flags3 & tmthing->flags3 & MF3_DONTOVERLAP))
{