mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +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)
|
||||
{
|
||||
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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue