From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10345
d7cf8633-e32d-0410-b094-
e92efae38249
{
if (!cl.onground)
{
- cl.bobfall_speed = cl.velocity[2] * cl_bobfall.value;
+ cl.bobfall_speed = bound(-400, cl.velocity[2], 0) * bound(0, cl_bobfall.value, 0.1);
cl.bobfall_swing = 1;
}
else
{
if(cl.bobfall_swing > 0)
- cl.bobfall_swing -= cl_bobfallcycle.value;
+ cl.bobfall_swing -= bound(0, cl_bobfallcycle.value, 1);
else
cl.bobfall_swing = 0;