Hotfix: I keep forgetting that sometimes actors can cease to exist out of the blue.
This commit is contained in:
parent
670bbb37d9
commit
ab6b3519d1
1 changed files with 3 additions and 0 deletions
|
|
@ -123,7 +123,10 @@ Class FlakAccumulator : Thinker
|
|||
if ( victim.health-total <= gibhealth ) inflictor.bEXTREMEDEATH = true;
|
||||
// 何?
|
||||
for ( int i=0; i<amounts.Size(); i++ )
|
||||
{
|
||||
if ( !victim ) break;
|
||||
victim.DamageMobj(inflictor,source,amounts[i],type,DMG_THRUSTLESS);
|
||||
}
|
||||
inflictor.bEXTREMEDEATH = oldxd;
|
||||
Destroy();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue