Extend FX_GibHuman with a dir (euler) and force parameter.
This commit is contained in:
parent
c00a15a268
commit
ae2ef00c4d
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ OP4CTFRules::PlayerDeath(base_player pp)
|
|||
|
||||
if (pl.health < -50) {
|
||||
pl.health = 0;
|
||||
FX_GibHuman(pl.origin);
|
||||
FX_GibHuman(pl.origin, vectoangles(pl.origin - g_dmg_eAttacker.origin), g_dmg_iDamage * 2.0f);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue