- 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
parent c32afb8b4c
commit e2ac4c1168
4 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
June 21, 2006 (Changes by Graf Zahl)
- 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.
June 20, 2006
- Added grubber's thingdef_exp.cpp. I might not use it later, but I can still
use it now.

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))
{

View file

@ -170,8 +170,8 @@ static BOOL PTR_TraceIterator (intercept_t *in)
entersector = (lineside == 0) ? in->d.line->backsector : in->d.line->frontsector;
// For backwards compatibility: Ignore lines with the same sector on both sides.
// This is the way Doom.exe did it and some WADs (e.g. Alien Vendetta MAP15 needs it.
if (i_compatflags & COMPATF_TRACE)
// This is the way Doom.exe did it and some WADs (e.g. Alien Vendetta MAP15 need it.
if (i_compatflags & COMPATF_TRACE && in->d.line->backsector == in->d.line->frontsector)
{
return true;
}

View file

@ -405,7 +405,7 @@ void P_TranslateTeleportThings ()
}
else if (lines[i].special == Teleport_ZombieChanger)
{
if (lines[i].args[2] == 0)
if (lines[i].args[1] == 0)
{
lines[i].args[0] = 1;
}