diff options
author | Roman Tetelman <kevlarman@gmail.com> | 2009-10-03 13:10:49 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:32 +0000 |
commit | 18fd17a1388973801bf990e8e1139123ae4e872b (patch) | |
tree | d85fd87a88b9983c68f83a03026af65e0feb1560 /src | |
parent | 3fd952a2fc79839dc2443e86a5bd5b9200db69fe (diff) |
* put a cap of 2.5 seconds on the fov warping from pcloud
Diffstat (limited to 'src')
-rw-r--r-- | src/cgame/cg_view.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 ) ) { |