diff --git a/src/client/hud.qc b/src/client/hud.qc index 59a055b..43b85f6 100644 --- a/src/client/hud.qc +++ b/src/client/hud.qc @@ -387,7 +387,7 @@ void HUD_DrawNotify(void) { vector pos; - + if (pSeatLocal->m_flPickupAlpha <= 0.0f) { return; } diff --git a/src/shared/animations.qc b/src/shared/animations.qc old mode 100755 new mode 100644 index 00240a5..503e694 --- a/src/shared/animations.qc +++ b/src/shared/animations.qc @@ -33,7 +33,7 @@ void Animation_Print(string sWow) { void Animation_TimerUpdate(player pl, float ftime) { - makevectors([0, pl.angles[1], 0]); + makevectors([0, pl.v_angle[1], 0]); /* top animation is always just being incremented */ pl.anim_top_time += ftime; @@ -94,7 +94,7 @@ Animation_PlayerUpdate(player pl) pl.frame1time = 10.0f; } - makevectors([0, pl.angles[1], 0]); + makevectors([0, pl.v_angle[1], 0]); float fCorrect = dotproduct(pl.velocity, v_right) * 0.25f; /* Turn torso */ @@ -104,15 +104,10 @@ Animation_PlayerUpdate(player pl) pl.bonecontrol4 = pl.bonecontrol3 * 0.5; /* Correct the legs */ - pl.angles[1] -= fCorrect; + pl.angles[1] = pl.v_angle[1] - fCorrect; -#ifdef SERVER pl.subblendfrac = pl.subblend2frac = pl.v_angle[0] / 90; -#else - pl.subblendfrac = - pl.subblend2frac = pl.pitch / 90; -#endif } void