- 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:
Christoph Oelckers 2010-12-04 08:53:13 +00:00
commit e7bbca8e33
2 changed files with 6 additions and 0 deletions

View file

@ -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);