From 8de2853c89a624574402d82e541e2061cc121b4a Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 29 Feb 2004 04:22:40 +0000 Subject: * Added zoom function to weapons * Added code for reload binding * Turrents now give up an out of range target * Reactor cannot be used once destroyed * Reduced effectiveness of acid tube, turret and hive * Raised advanced build times * Reduced overall alien damage slightly * Raised mofo health (again) * Raised dragoon projectile damage --- src/cgame/cg_view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_view.c b/src/cgame/cg_view.c index e79c1d31..bb0816d9 100644 --- a/src/cgame/cg_view.c +++ b/src/cgame/cg_view.c @@ -742,14 +742,14 @@ static int CG_CalcFov( void ) } // account for zooms - zoomFov = cg_zoomFov.value; + zoomFov = BG_FindZoomFovForWeapon( cg.predictedPlayerState.weapon ); if ( zoomFov < 1 ) zoomFov = 1; else if ( zoomFov > attribFov ) zoomFov = attribFov; //TA: only do all the zoom stuff if the client CAN zoom - if( BG_ClassHasAbility( cg.predictedPlayerState.stats[ STAT_PCLASS ], SCA_CANZOOM ) ) + if( BG_WeaponCanZoom( cg.predictedPlayerState.weapon ) ) { if ( cg.zoomed ) { -- cgit