diff options
Diffstat (limited to 'src/cgame/cg_view.c')
-rw-r--r-- | src/cgame/cg_view.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgame/cg_view.c b/src/cgame/cg_view.c index bc331133..e419ba33 100644 --- a/src/cgame/cg_view.c +++ b/src/cgame/cg_view.c @@ -1334,8 +1334,8 @@ static int CG_CalcViewValues( void ) ps->velocity[ 1 ] * ps->velocity[ 1 ] ); // the bob velocity should't get too fast to avoid jerking - if( cg.xyspeed > 300.f ) - cg.xyspeed = 300.f; + if( cg.xyspeed > 300.0f ) + cg.xyspeed = 300.0f; VectorCopy( ps->origin, cg.refdef.vieworg ); |