From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10336
d7cf8633-e32d-0410-b094-
e92efae38249
double lastongroundtime;
double hitgroundtime;
float bob2_smooth;
+
+ float ground_hit_speed;
// don't change view angle, full screen, etc
int intermission;
gunorg[0] += bob2vel[0];
gunorg[1] += bob2vel[1];
}
+
+
+ // TEST!!!
+
+ if (!cl.onground)
+ cl.ground_hit_speed = cl.velocity[2];
+ else
+ vieworg[2] += cl.ground_hit_speed;
+
+ // End of TEST!!!
+
+
// gun model bobbing code
if (cl_bob.value || cl_bob2.value)