From cec9e0aa82b677033967c5a29ef8b0a74c02a715 Mon Sep 17 00:00:00 2001 From: Paul Broadhead Date: Tue, 28 May 2024 01:06:35 +0100 Subject: [PATCH] Add a margin between the compass mouse over text and the bottom HUD. --- hud_misc_window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hud_misc_window.c b/hud_misc_window.c index ca583a8c6..9683ed6b6 100644 --- a/hud_misc_window.c +++ b/hud_misc_window.c @@ -332,7 +332,8 @@ CHECK_GL_ERRORS(); if (self_tile_position(&x, &y)) { safe_snprintf(str, sizeof(str), "%d,%d", x, y); - draw_string_small_shadowed_zoomed_right(-tooltip_sep, win->len_y-compass_size, + draw_string_small_shadowed_zoomed_right(-tooltip_sep, + win->len_y - HUD_MARGIN_Y - win->small_font_len_y - hud_margin, (unsigned char*)str, 1, 1.0f, 1.0f, 1.0f, 0.0f, 0.0f, 0.0f, win->current_scale); }