aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_hud.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_draw_hud.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_draw_hud.c b/src/ft_draw_hud.c
index 5feab32..d98ff31 100644
--- a/src/ft_draw_hud.c
+++ b/src/ft_draw_hud.c
@@ -58,9 +58,9 @@ static void
static void
ft_draw_minimap_back(size_t map_h, size_t map_w, t_win *wl, t_cub *cl)
{
- const uint16_t scl = cl->mlist.scale;
uint16_t x;
uint16_t y;
+ const uint16_t scl = cl->mlist.scale;
x = 0;
y = wl->y_size - (map_h * scl) - 20;