mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-24 21:11:03 +00:00
Arrange quick save icons horizontally
This commit is contained in:
parent
d3dcac8f9d
commit
20f8fff3fe
2 changed files with 2 additions and 2 deletions
|
@ -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] =
|
angles[ROLL] = (cg.itemSelectorType == ST_QUICK_SAVE ? 270.0f : 0.0f) +
|
||||||
(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);
|
||||||
|
|
|
@ -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] =
|
angles[ROLL] = (cg.itemSelectorType == ST_QUICK_SAVE ? 270.0f : 0.0f) +
|
||||||
(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);
|
||||||
|
|
Loading…
Reference in a new issue