mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- 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);
|
||||
|
|
|
@ -53,6 +53,7 @@ F84AB4557464A383E93F37CD3A82AC48 // MM2 map03
|
|||
}
|
||||
|
||||
2FE901F659A16E58D7BCD7C30021C238 // AV map15
|
||||
74AF92E96FE10D039D31C1F6526D7D7C // Real World map11
|
||||
{
|
||||
trace
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue