- fixed: TRF_ALLACTORS did not consider actors without any flag being set.

This commit is contained in:
Christoph Oelckers 2020-05-25 19:33:14 +02:00
parent ea0da8533c
commit 2828dbe095

View file

@ -853,7 +853,7 @@ bool FTraceInfo::TraceTraverse (int ptflags)
}
if (!LineCheck(in, dist, hit, false)) break;
}
else if ((in->d.thing->flags & ActorMask) && in->d.thing != IgnoreThis)
else if (((in->d.thing->flags & ActorMask) || ActorMask == 0xffffffff) && in->d.thing != IgnoreThis)
{
if (!ThingCheck(in, dist, hit)) break;
}