Code cleanup patch by devhc

This commit is contained in:
Thilo Schulz 2011-02-08 18:19:31 +00:00
parent 9f786f4def
commit 2b52867b74
8 changed files with 3 additions and 17 deletions

View file

@ -628,9 +628,6 @@ typedef struct {
float v_dmg_pitch;
float v_dmg_roll;
vec3_t kick_angles; // weapon kicks
vec3_t kick_origin;
// temp working variables for player view
float bobfracsin;
int bobcycle;

View file

@ -335,9 +335,6 @@ static void CG_OffsetFirstPersonView( void ) {
return;
}
// add angles based on weapon kick
VectorAdd (angles, cg.kick_angles, angles);
// add angles based on damage kick
if ( cg.damageTime ) {
ratio = cg.time - cg.damageTime;
@ -422,10 +419,6 @@ static void CG_OffsetFirstPersonView( void ) {
// add step offset
CG_StepOffset();
// add kick offset
VectorAdd (origin, cg.kick_origin, origin);
// pivot the eye based on a neck length
#if 0
{