Experimental changes for F3DFloor export.
Requires GZDoom PR (coelckers/gzdoom#732).
This commit is contained in:
parent
691fb8cee6
commit
65222b474c
12 changed files with 157 additions and 31 deletions
|
|
@ -306,6 +306,13 @@ Class UTRocketLauncher : UTWeapon
|
|||
{
|
||||
Super.Tick();
|
||||
if ( !Owner ) return;
|
||||
if ( Owner.Health <= 0 )
|
||||
{
|
||||
LockedTarget = null;
|
||||
LockedOn = false;
|
||||
crosshair = 0;
|
||||
return;
|
||||
}
|
||||
if ( LockedOn && (!LockedTarget || (LockedTarget.Health <= 0) || !LockedTarget.bIsMonster || LockedTarget.bKilled || LockedTarget.bCorpse || !LockedTarget.bShootable) )
|
||||
{
|
||||
LockedTarget = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue