- Fixed: With COMPAT_TRACE switched on linedef actions on lines having

the same sector on both sides were not triggered.


SVN r1362 (trunk)
This commit is contained in:
Christoph Oelckers 2009-01-24 00:04:58 +00:00
parent bbda4622e7
commit 036deb1ae6
2 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,7 @@
January 24, 2009 (Changes by Graf Zahl)
- Fixed: With COMPAT_TRACE switched on linedef actions on lines having
the same sector on both sides were not triggered.
January 18, 2009 (Changes by Graf Zahl)
- Added a CopyInfo function to FTexture that contains all code required to
clone a texture. Used for creating warping textures.

View file

@ -290,6 +290,15 @@ bool FTraceInfo::TraceTraverse (int ptflags)
// 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)
{
// We must check special activation here because the code below is never reached.
if (TraceFlags & TRACE_PCross)
{
P_ActivateLine (in->d.line, IgnoreThis, lineside, SPAC_PCross);
}
if (TraceFlags & TRACE_Impact)
{
P_ActivateLine (in->d.line, IgnoreThis, lineside, SPAC_Impact);
}
continue;
}
}