From 1ed379dd24f9b3a21719c819063566d7d0bb2d23 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Wed, 4 Aug 2010 01:48:43 +0000 Subject: * (bug 4688) Fix locational damage being applied backwards from the front versus the back (thanks F50, kevlarman) --- src/game/g_combat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ] - -- cgit