diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2015-04-08 21:45:16 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2015-04-08 21:45:16 +0200 |
commit | ee25f4aadf87fa2852bb345062eeecea9e86d1dc (patch) | |
tree | b7dd37970f250812a67c750d63b901c38fbee35f /src/cgame/cg_view.c | |
parent | 0f4407b328c59f132ee5bbf31004d31b81dc3b3b (diff) |
Revert human physics to vq3.
Diffstat (limited to 'src/cgame/cg_view.c')
-rw-r--r-- | src/cgame/cg_view.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/cgame/cg_view.c b/src/cgame/cg_view.c index 1221fe9..333e421 100644 --- a/src/cgame/cg_view.c +++ b/src/cgame/cg_view.c @@ -809,18 +809,6 @@ void CG_OffsetFirstPersonView( void ) cg.predictedPlayerState.pm_type == PM_JETPACK ) ) { angles[PITCH] += cg.bobfracsin * bob2 * 0.5; - - // heavy breathing effects //FIXME: sound - if( cg.predictedPlayerState.stats[ STAT_STAMINA ] < STAMINA_BREATHING_LEVEL ) - { - float deltaBreath = ( cg.predictedPlayerState.stats[ STAT_STAMINA ] - - STAMINA_BREATHING_LEVEL ) / -250.0; - float deltaAngle = cos( (float)cg.time/150.0 ) * deltaBreath; - - deltaAngle += ( deltaAngle < 0 ? -deltaAngle : deltaAngle ) * 0.5; - - angles[ PITCH ] -= deltaAngle; - } } //=================================== |