summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIronClawTrem <louie.nutman@gmail.com>2019-11-01 20:57:16 +0000
committerIronClawTrem <louie.nutman@gmail.com>2019-11-01 20:57:16 +0000
commita94ef97d76b712cca111ba73709e14736c8bd93d (patch)
tree558f0ea0566070f82ce56219b8268920e4148909 /src
parent2a062e07ade9a2f76e90b3f2794b08189db75e89 (diff)
revert knockback removal
Diffstat (limited to 'src')
-rw-r--r--src/game/g_weapon.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index d314e86..92dddf2 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -323,7 +323,7 @@ void bulletFire( gentity_t *ent, float spread, int damage, int mod )
if( traceEnt->takedamage )
{
G_Damage( traceEnt, ent, ent, forward, tr.endpos,
- damage, DAMAGE_NO_KNOCKBACK, mod );
+ damage, 0, mod );
}
}
@@ -367,7 +367,7 @@ void ShotgunPattern( vec3_t origin, vec3_t origin2, int seed, gentity_t *ent )
if( !( tr.surfaceFlags & SURF_NOIMPACT ) )
{
if( traceEnt->takedamage )
- G_Damage( traceEnt, ent, ent, forward, tr.endpos, SHOTGUN_DMG, DAMAGE_NO_KNOCKBACK, MOD_SHOTGUN );
+ G_Damage( traceEnt, ent, ent, forward, tr.endpos, SHOTGUN_DMG, 0, MOD_SHOTGUN );
}
}
}
@@ -437,7 +437,7 @@ void massDriverFire( gentity_t *ent )
if( traceEnt->takedamage )
{
G_Damage( traceEnt, ent, ent, forward, tr.endpos,
- MDRIVER_DMG, DAMAGE_NO_KNOCKBACK, MOD_MDRIVER );
+ MDRIVER_DMG, 0, MOD_MDRIVER );
}
}
@@ -591,7 +591,7 @@ void lasGunFire( gentity_t *ent )
}
if( traceEnt->takedamage )
- G_Damage( traceEnt, ent, ent, forward, tr.endpos, LASGUN_DAMAGE, DAMAGE_NO_KNOCKBACK, MOD_LASGUN );
+ G_Damage( traceEnt, ent, ent, forward, tr.endpos, LASGUN_DAMAGE, 0, MOD_LASGUN );
}
/*
@@ -648,7 +648,7 @@ void painSawFire( gentity_t *ent )
}
if( traceEnt->takedamage )
- G_Damage( traceEnt, ent, ent, forward, tr.endpos, PAINSAW_DAMAGE, DAMAGE_NO_KNOCKBACK, MOD_PAINSAW );
+ G_Damage( traceEnt, ent, ent, forward, tr.endpos, PAINSAW_DAMAGE, 0, MOD_PAINSAW );
}
/*