Show domination icons on hud relative to camera instead of car forward.

This commit is contained in:
zturtleman 2019-05-21 04:43:32 +00:00
parent ee81ee56d9
commit ec32109571

View file

@ -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);