From ec32109571c4aac27837608958844e4c115cbb13 Mon Sep 17 00:00:00 2001 From: zturtleman Date: Tue, 21 May 2019 04:43:32 +0000 Subject: [PATCH] Show domination icons on hud relative to camera instead of car forward. --- engine/code/cgame/cg_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/code/cgame/cg_draw.c b/engine/code/cgame/cg_draw.c index b265e62d..f50310db 100644 --- a/engine/code/cgame/cg_draw.c +++ b/engine/code/cgame/cg_draw.c @@ -3157,7 +3157,7 @@ void CG_DrawSigilLocationInfo( vec3_t origin, vec3_t target, qhandle_t shader, v VectorNormalize(temp); 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 -=0.25; angle *= (2*M_PI);