From 593b27c7635860e28ab438b0d0cc9d9b1eafe434 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Mon, 5 Feb 2018 22:44:59 +0100 Subject: Add knockback to grenades back. --- src/game/g_missile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/game/g_missile.c b/src/game/g_missile.c index 680f49d..7c51e3a 100644 --- a/src/game/g_missile.c +++ b/src/game/g_missile.c @@ -502,6 +502,7 @@ gentity_t *launch_grenade( gentity_t *self, vec3_t start, vec3_t dir ) bolt->r.ownerNum = self->s.number; bolt->parent = self; bolt->damage = GRENADE_DAMAGE; + bolt->dflags = DAMAGE_KNOCKBACK; bolt->splashDamage = GRENADE_DAMAGE; bolt->splashRadius = GRENADE_RANGE; bolt->methodOfDeath = MOD_GRENADE; -- cgit