Added MF9_SHADOWBLOCK.
Actors in the line of fire with this flag trigger the MF_SHADOW aiming penalty. The shooter needs to have MF9_DOSHADOWBLOCK to check for actors with this flag.
This commit is contained in:
parent
162dbf0554
commit
c729b831af
5 changed files with 77 additions and 16 deletions
|
|
@ -1227,7 +1227,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_CustomRailgun)
|
|||
self->Angles.Yaw = self->AngleTo(self->target,- self->target->Vel.X * veleffect, -self->target->Vel.Y * veleffect);
|
||||
}
|
||||
|
||||
A_CustomRailgun_ShadowHandling(self);
|
||||
A_CustomRailgun_ShadowHandling(self, spawnofs_xy, spawnofs_z, spread_xy, flags);
|
||||
}
|
||||
|
||||
if (!(flags & CRF_EXPLICITANGLE))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue