- fixed: The result condition of a hitscan subtrace was never checked.

This commit is contained in:
Christoph Oelckers 2016-03-08 11:55:40 +01:00
parent f852ead99a
commit 4ebdcb7b6d
1 changed files with 3 additions and 1 deletions

View File

@ -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)
{