Remove references to the dead .pitch attribute
This commit is contained in:
parent
c1166c8a22
commit
f06747030b
|
@ -604,7 +604,7 @@ TS_View_DrawExtraEffects(player pl, int thirdperson)
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
posView = pl.origin + pl.view_ofs;
|
posView = pl.origin + pl.view_ofs;
|
||||||
angView = [pl.pitch, pl.angles[1], pl.angles[2]];
|
angView = pl.v_angle;
|
||||||
gunpos = posView;
|
gunpos = posView;
|
||||||
angGun = angView;
|
angGun = angView;
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,13 +106,8 @@ Animation_PlayerUpdate(player pl)
|
||||||
/* Correct the legs */
|
/* Correct the legs */
|
||||||
pl.angles[1] -= fCorrect;
|
pl.angles[1] -= fCorrect;
|
||||||
|
|
||||||
#ifdef SERVER
|
|
||||||
pl.subblendfrac =
|
pl.subblendfrac =
|
||||||
pl.subblend2frac = pl.v_angle[0] / 90;
|
pl.subblend2frac = pl.v_angle[0] / 90;
|
||||||
#else
|
|
||||||
pl.subblendfrac =
|
|
||||||
pl.subblend2frac = pl.pitch / 90;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue