summaryrefslogtreecommitdiff
path: root/src/game/g_combat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r--src/game/g_combat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c
index 94e8b265..5f93de5d 100644
--- a/src/game/g_combat.c
+++ b/src/game/g_combat.c
@@ -762,7 +762,7 @@ static float G_CalcDamageModifier( vec3_t point, gentity_t *targ, gentity_t *att
hitRatio = hitRelative / clientHeight;
// Get the yaw of the attack relative to the target's view yaw
- VectorSubtract( targOrigin, point, bulletPath );
+ VectorSubtract( point, targOrigin, bulletPath );
vectoangles( bulletPath, bulletAngle );
hitRotation = AngleNormalize360( targ->client->ps.viewangles[ YAW ] -