summaryrefslogtreecommitdiff
path: root/src/cgame/cg_view.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-04-09 17:09:46 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-04-09 17:09:46 +0200
commit57ee720912a9074c5d1b2b9323d9f243d17a1973 (patch)
tree87203f7b3e2ea01f5726af59379ea0f1395dd685 /src/cgame/cg_view.c
parent633697f8fb26930f4f3dc089726d76fed99595a3 (diff)
parentaa8684be7efeec63cce394265609834e06bc68fa (diff)
Merge branch 'vq3-humans'
Diffstat (limited to 'src/cgame/cg_view.c')
-rw-r--r--src/cgame/cg_view.c12
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;
- }
}
//===================================