diff options
author | Mikko Tiusanen <ams@daug.net> | 2015-04-03 19:24:09 +0300 |
---|---|---|
committer | Mikko Tiusanen <ams@daug.net> | 2015-04-03 19:24:09 +0300 |
commit | de1bb3421d464023570b96082809d79ca3ca6264 (patch) | |
tree | 0211e822a755475262ecf8a2a1dc39468ee95384 /src/game/g_weapon.c | |
parent | 7af0f802b62a34b9a613328dcd7fe157999b77b2 (diff) | |
parent | d22b446abfa0d98d7b69511d6c4bbe555d2cb7bf (diff) |
Merge branch 'master' of github.com:mtiusane/new-edge
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r-- | src/game/g_weapon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c index 0b5599a..d1f7694 100644 --- a/src/game/g_weapon.c +++ b/src/game/g_weapon.c @@ -1473,7 +1473,7 @@ static void G_CreateNewZap( gentity_t *creator, gentity_t *target ) { if( !zap->targets[ i ]->client || zap->targets[ i ]->client->ps.stats[ STAT_TEAM ] != TEAM_ALIENS ) - G_Damage( zap->targets[ i ], target, zap->creator, forward, target->s.origin, + G_Damage( zap->targets[ i ], target, zap->creator, forward, zap->targets[ i ]->s.origin, LEVEL2_AREAZAP_DMG * ( 1 - pow( (zap->distances[ i ] / LEVEL2_AREAZAP_CHAIN_RANGE ), LEVEL2_AREAZAP_CHAIN_FALLOFF ) ) + 1, DAMAGE_NO_KNOCKBACK | DAMAGE_NO_LOCDAMAGE, |