This commit is contained in:
Grant Bagwell 2023-04-12 14:50:26 +02:00
commit 3f7d116e25
4 changed files with 2 additions and 2 deletions

View file

@ -3227,7 +3227,7 @@ void CG_DrawItemSelector( void )
VectorClear(angles); VectorClear(angles);
angles[YAW] = wheelAngles[YAW]; angles[YAW] = wheelAngles[YAW];
angles[PITCH] = wheelAngles[PITCH]; angles[PITCH] = wheelAngles[PITCH];
angles[ROLL] = (cg.itemSelectorType == ST_QUICK_SAVE ? 270.0f : 0.0f) + angles[ROLL] =
(float)(360 / (count - ((cg.itemSelectorType == ST_WEAPON && !vr->in_vehicle) ? 1 : 0))) * index; (float)(360 / (count - ((cg.itemSelectorType == ST_WEAPON && !vr->in_vehicle) ? 1 : 0))) * index;
vec3_t forward, up; vec3_t forward, up;
AngleVectors(angles, forward, NULL, up); AngleVectors(angles, forward, NULL, up);

View file

@ -3079,7 +3079,7 @@ void CG_DrawItemSelector( void )
VectorClear(angles); VectorClear(angles);
angles[YAW] = wheelAngles[YAW]; angles[YAW] = wheelAngles[YAW];
angles[PITCH] = wheelAngles[PITCH]; angles[PITCH] = wheelAngles[PITCH];
angles[ROLL] = (cg.itemSelectorType == ST_QUICK_SAVE ? 270.0f : 0.0f) + angles[ROLL] =
(float)(360 / (count - ((cg.itemSelectorType == ST_WEAPON && !vr->in_vehicle) ? 1 : 0))) * index; (float)(360 / (count - ((cg.itemSelectorType == ST_WEAPON && !vr->in_vehicle) ? 1 : 0))) * index;
vec3_t forward, up; vec3_t forward, up;
AngleVectors(angles, forward, NULL, up); AngleVectors(angles, forward, NULL, up);

Binary file not shown.

Binary file not shown.