mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
Fix partial initialization in ACS PickActor function
This commit is contained in:
parent
19b65195ea
commit
b2a6512981
1 changed files with 3 additions and 0 deletions
|
@ -4439,6 +4439,9 @@ AActor *P_LinePickActor(AActor *t1, DAngle angle, double distance, DAngle pitch,
|
|||
|
||||
TData.Caller = t1;
|
||||
TData.hitGhosts = true;
|
||||
TData.MThruSpecies = false;
|
||||
TData.ThruActors = false;
|
||||
TData.ThruSpecies = false;
|
||||
|
||||
if (Trace(t1->PosAtZ(shootz), t1->Sector, direction, distance,
|
||||
actorMask, wallMask, t1, trace, TRACE_NoSky | TRACE_PortalRestrict, CheckForActor, &TData))
|
||||
|
|
Loading…
Reference in a new issue