- expanded compat_trace flag to apply also to sight checks.
- Set trace compatibility for Real World MAP11. SVN r3021 (trunk)
This commit is contained in:
parent
72f589c8c3
commit
e7bbca8e33
2 changed files with 6 additions and 0 deletions
|
|
@ -102,6 +102,11 @@ bool SightCheck::PTR_SightTraverse (intercept_t *in)
|
|||
//
|
||||
// crosses a two sided line
|
||||
//
|
||||
|
||||
// ignore self referencing sectors if COMPAT_TRACE is on
|
||||
if ((i_compatflags & COMPATF_TRACE) && li->frontsector == li->backsector)
|
||||
return true;
|
||||
|
||||
fixed_t trX=trace.x + FixedMul (trace.dx, in->frac);
|
||||
fixed_t trY=trace.y + FixedMul (trace.dy, in->frac);
|
||||
P_LineOpening (open, NULL, li, trX, trY);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue