diff options
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 a28da78b..3f523071 100644 --- a/src/game/g_weapon.c +++ b/src/game/g_weapon.c @@ -1131,7 +1131,7 @@ void G_UpdateZaps( int msec ) source = zap->targets[ j - 1 ]; if( target->health <= 0 || !target->inuse || //early out - VectorDistance( source->s.origin, target->s.origin ) > LEVEL2_AREAZAP_RANGE ) + Distance( source->s.origin, target->s.origin ) > LEVEL2_AREAZAP_RANGE ) { target = zap->targets[ j ] = G_FindNewZapTarget( source ); |