Client: Get rid of .pitch reference
Shared: Tweak player animations a bit.
This commit is contained in:
parent
92f0844156
commit
8edb6984cf
2 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,7 @@ Player_Flashlight(base_player pl)
|
|||
|
||||
if (pl.entnum != player_localentnum) {
|
||||
src = pl.origin + pl.view_ofs;
|
||||
ang = [pl.pitch, pl.angles[1], pl.angles[2]];
|
||||
ang = pl.v_angle;
|
||||
} else {
|
||||
src = pSeat->m_vecPredictedOrigin + [0,0,-8];
|
||||
ang = view_angles;
|
||||
|
|
|
@ -105,6 +105,7 @@ Animation_PlayerUpdate(player pl)
|
|||
|
||||
/* Correct the legs */
|
||||
pl.angles[1] = pl.v_angle[1] - fCorrect;
|
||||
pl.angles[0] = pl.angles[2] = 0;
|
||||
|
||||
pl.subblendfrac =
|
||||
pl.subblend2frac = pl.v_angle[0] / 90;
|
||||
|
|
Loading…
Reference in a new issue