- give P_ExplodeMissile a damage type when being called from P_DamageMobj
This commit is contained in:
parent
21a621031b
commit
62b0fc5f4e
3 changed files with 4 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue