mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-13 07:57:51 +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);
|
Results->HitTexture = CurSector->GetTexture(sector_t::ceiling);
|
||||||
}
|
}
|
||||||
else if (entersector == NULL ||
|
else if (entersector == NULL ||
|
||||||
hitz <= bf || hitz >= bc ||
|
hitz < bf || hitz > bc ||
|
||||||
in->d.line->flags & WallMask)
|
in->d.line->flags & WallMask)
|
||||||
{ // hit the wall
|
{ // hit the wall
|
||||||
Results->HitType = TRACE_HitWall;
|
Results->HitType = TRACE_HitWall;
|
||||||
|
|
Loading…
Reference in a new issue