Extend FX_GibHuman with a dir (euler) and force parameter.
This commit is contained in:
parent
5ad48e5917
commit
b3d5163148
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ HLMultiplayerRules::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((player)pl, ANIM_DIESIMPLE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue