Oh look, it's another "actor stops existing after taking damage" fix.
This commit is contained in:
parent
306b44cf32
commit
2378bf3175
2 changed files with 3 additions and 3 deletions
|
|
@ -1028,7 +1028,7 @@ Class OnFire : Inventory
|
|||
int flg = DMG_THRUSTLESS;
|
||||
if ( Owner is 'Centaur' ) flg |= DMG_FOILINVUL; // you're on fire, that shield is worthless
|
||||
Owner.DamageMobj(self,instigator,clamp(int(amount*.15),1,50),'Fire',flg);
|
||||
if ( Owner.bISMONSTER && !Random[FlameT](0,3) )
|
||||
if ( Owner && Owner.bISMONSTER && !Random[FlameT](0,3) )
|
||||
Owner.Howl();
|
||||
}
|
||||
if ( !Owner )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue