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

This commit is contained in:
Marco Cawthorne 2022-04-05 20:38:46 -07:00
parent c00a15a268
commit ae2ef00c4d
Signed by: eukara
GPG key ID: C196CD8BA993248A

View file

@ -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;
}