From 18fd17a1388973801bf990e8e1139123ae4e872b Mon Sep 17 00:00:00 2001 From: Roman Tetelman Date: Sat, 3 Oct 2009 13:10:49 +0000 Subject: * put a cap of 2.5 seconds on the fov warping from pcloud --- src/cgame/cg_view.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/cgame/cg_view.c b/src/cgame/cg_view.c index 06f621f5..5460938f 100644 --- a/src/cgame/cg_view.c +++ b/src/cgame/cg_view.c @@ -984,6 +984,7 @@ static int CG_CalcFov( void ) inwater = qfalse; if( ( cg.predictedPlayerEntity.currentState.eFlags & EF_POISONCLOUDED ) && + ( cg.time - cg.poisonedTime < PCLOUD_DISORIENT_DURATION) && cg.predictedPlayerState.stats[ STAT_HEALTH ] > 0 && !( cg.snap->ps.pm_flags & PMF_FOLLOW ) ) { -- cgit