diff options
author | Tim Angus <tim@ngus.net> | 2001-02-15 03:05:07 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2001-02-15 03:05:07 +0000 |
commit | f88246392e865202dd2b7029c0f3b62c7eb4c0f8 (patch) | |
tree | 01557e2e113d0521225c6e27ec5c98d7f458b968 /src/cgame/cg_weapons.c | |
parent | 31f1bb33ab5d7d3e6ebbc7eee88452e6efc8b011 (diff) |
Infesting getting fairly polished. Usual random bugfixes.
Diffstat (limited to 'src/cgame/cg_weapons.c')
-rw-r--r-- | src/cgame/cg_weapons.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cgame/cg_weapons.c b/src/cgame/cg_weapons.c index 15992501..318e227a 100644 --- a/src/cgame/cg_weapons.c +++ b/src/cgame/cg_weapons.c @@ -1070,7 +1070,8 @@ void CG_AddViewWeapon( playerState_t *ps ) { vec3_t angles; weaponInfo_t *weapon; - if ( ps->persistant[PERS_TEAM] == TEAM_SPECTATOR ) { + if( ( ps->persistant[PERS_TEAM] == TEAM_SPECTATOR ) || + ( ps->stats[ STAT_STATE ] & SS_INFESTING ) ) { return; } @@ -1105,7 +1106,7 @@ void CG_AddViewWeapon( playerState_t *ps ) { //if ( cg_fov.integer > 90 ) { //TA: the client side variable isn't used ( shouldn't iD have done this anyway? ) if( cg.refdef.fov_y > 90 ) - fovOffset = -0.2 * ( cg.refdef.fov_y - 90 ); + fovOffset = -0.4 * ( cg.refdef.fov_y - 90 ); else fovOffset = 0; |