summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-02-05 22:44:59 +0100
committerPaweł Redman <pawel.redman@gmail.com>2018-02-05 22:44:59 +0100
commit593b27c7635860e28ab438b0d0cc9d9b1eafe434 (patch)
treef6260f804036c7389a648dc5fc04e8cca07278eb /src
parent5c0caf1fb9548749f9140772ae1f26b515c4bb21 (diff)
Add knockback to grenades back.
Diffstat (limited to 'src')
-rw-r--r--src/game/g_missile.c1
1 files changed, 1 insertions, 0 deletions
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;