mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
- 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
|
@ -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)
|
January 18, 2009 (Changes by Graf Zahl)
|
||||||
- Added a CopyInfo function to FTexture that contains all code required to
|
- Added a CopyInfo function to FTexture that contains all code required to
|
||||||
clone a texture. Used for creating warping textures.
|
clone a texture. Used for creating warping textures.
|
||||||
|
|
|
@ -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.
|
// 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)
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue