Extend FX_GibHuman with a dir (euler) and force parameter.

This commit is contained in:
Marco Cawthorne 2022-04-05 20:37:19 -07:00
parent 42555d426d
commit bf4ec8bcc3
Signed by: eukara
GPG Key ID: C196CD8BA993248A
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ SHMultiplayerRules::PlayerDeath(base_player pl)
/* either gib, or make a corpse */
if (pl.health < -50) {
FX_GibHuman(pl.origin);
FX_GibHuman(pl.origin, vectoangles(pl.origin - g_dmg_eAttacker.origin), g_dmg_iDamage * 2.0f);
} else {
FX_Corpse_Spawn(pl, ANIM_DIESIMPLE);
}