- give P_ExplodeMissile a damage type when being called from P_DamageMobj

This commit is contained in:
Christoph Oelckers 2019-09-09 15:41:09 +02:00
commit 62b0fc5f4e
3 changed files with 4 additions and 4 deletions

View file

@ -352,7 +352,7 @@ void AActor::Die (AActor *source, AActor *inflictor, int dmgflags, FName MeansOf
if (flags & MF_MISSILE)
{ // [RH] When missiles die, they just explode
P_ExplodeMissile (this, NULL, NULL);
P_ExplodeMissile (this, NULL, NULL, false, MeansOfDeath);
return;
}
// [RH] Set the target to the thing that killed it. Strife apparently does this.