- 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
parent 72f589c8c3
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);

View file

@ -53,6 +53,7 @@ F84AB4557464A383E93F37CD3A82AC48 // MM2 map03
}
2FE901F659A16E58D7BCD7C30021C238 // AV map15
74AF92E96FE10D039D31C1F6526D7D7C // Real World map11
{
trace
}