mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-21 19:10:50 +00:00
- fixed: The result condition of a hitscan subtrace was never checked.
This commit is contained in:
parent
f852ead99a
commit
4ebdcb7b6d
1 changed files with 3 additions and 1 deletions
|
@ -842,7 +842,9 @@ bool FTraceInfo::TraceTraverse (int ptflags)
|
||||||
}
|
}
|
||||||
else if (in->isaline)
|
else if (in->isaline)
|
||||||
{
|
{
|
||||||
if (!LineCheck(in)) break;
|
bool res = LineCheck(in);
|
||||||
|
if (aimdir == INT_MAX) return res; // signal for immediate abort
|
||||||
|
if (!res) break;
|
||||||
}
|
}
|
||||||
else if ((in->d.thing->flags & ActorMask) && in->d.thing != IgnoreThis)
|
else if ((in->d.thing->flags & ActorMask) && in->d.thing != IgnoreThis)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue