mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-28 22:51:57 +00:00
Show domination icons on hud relative to camera instead of car forward.
This commit is contained in:
parent
ee81ee56d9
commit
ec32109571
1 changed files with 1 additions and 1 deletions
|
@ -3157,7 +3157,7 @@ void CG_DrawSigilLocationInfo( vec3_t origin, vec3_t target, qhandle_t shader, v
|
||||||
VectorNormalize(temp);
|
VectorNormalize(temp);
|
||||||
vectoangles(temp,angles);
|
vectoangles(temp,angles);
|
||||||
|
|
||||||
angles[YAW]=AngleSubtract(cg.snap->ps.viewangles[YAW],angles[YAW]);
|
angles[YAW]=AngleSubtract(cg.refdefViewAngles[YAW],angles[YAW]);
|
||||||
angle=(angles[YAW] + 180.0f)/360.0f;
|
angle=(angles[YAW] + 180.0f)/360.0f;
|
||||||
angle -=0.25;
|
angle -=0.25;
|
||||||
angle *= (2*M_PI);
|
angle *= (2*M_PI);
|
||||||
|
|
Loading…
Reference in a new issue