summaryrefslogtreecommitdiff
path: root/src/cgame/cg_draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_draw.c')
-rw-r--r--src/cgame/cg_draw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c
index 780ac7ed..e5371a06 100644
--- a/src/cgame/cg_draw.c
+++ b/src/cgame/cg_draw.c
@@ -2260,8 +2260,9 @@ static void CG_DrawLocation( rectDef_t *rect, float scale, int textalign, vec4_t
centity_t *locent;
float maxX;
float tx = rect->x, ty = rect->y;
+ qboolean aligned = qfalse;
+
maxX = rect->x + rect->w;
- qboolean aligned = qfalse;
locent = CG_GetPlayerLocation( );
if( locent )