- 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:
parent
bbda4622e7
commit
036deb1ae6
2 changed files with 13 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue