mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +00:00
- fixed: Hitscan traces crossing a two sided line right at the height of the back sector's floor or ceiling must not be considered a hit.
This commit is contained in:
parent
8edace83c5
commit
0d3908a4f3
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ bool FTraceInfo::TraceTraverse (int ptflags)
|
|||
Results->HitTexture = CurSector->GetTexture(sector_t::ceiling);
|
||||
}
|
||||
else if (entersector == NULL ||
|
||||
hitz <= bf || hitz >= bc ||
|
||||
hitz < bf || hitz > bc ||
|
||||
in->d.line->flags & WallMask)
|
||||
{ // hit the wall
|
||||
Results->HitType = TRACE_HitWall;
|
||||
|
|
Loading…
Reference in a new issue