From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10301
d7cf8633-e32d-0410-b094-
e92efae38249
gunorg[2] += bound(-8, bob, 10);
}
gunorg[2] += bound(-8, bob, 10);
}
- // horizontal bobbing code
+ // horizontal view bobbing code
if (cl_bobside.value && cl_bobsidecycle.value)
{
vec3_t bobvel;
if (cl_bobside.value && cl_bobsidecycle.value)
{
vec3_t bobvel;
cycle2 *= cl_bobroll.value * cl.bobroll_airtime;
bobroll = bound(0, xyspeed, sv_maxspeed.value) * cycle2;
cycle2 *= cl_bobroll.value * cl.bobroll_airtime;
bobroll = bound(0, xyspeed, sv_maxspeed.value) * cycle2;
- viewangles[2] += bound(-45, bobroll, 45);
+ viewangles[2] += bound(-15, bobroll, 15);
}
// gun model bobbing code
}
// gun model bobbing code