Extend FX_GibHuman with a dir (euler) and force parameter.
This commit is contained in:
parent
42555d426d
commit
bf4ec8bcc3
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue