aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_hud.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-22 14:47:59 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-22 14:47:59 +0100
commit558151cd594920e8322f53f382d88863a0fd6377 (patch)
treedd7fc5b3de1f873a0423734038d61bebffbb6290 /src/ft_draw_hud.c
parentRemoved bloat (diff)
download42-cub3d-558151cd594920e8322f53f382d88863a0fd6377.tar.gz
42-cub3d-558151cd594920e8322f53f382d88863a0fd6377.tar.bz2
42-cub3d-558151cd594920e8322f53f382d88863a0fd6377.tar.xz
42-cub3d-558151cd594920e8322f53f382d88863a0fd6377.tar.zst
42-cub3d-558151cd594920e8322f53f382d88863a0fd6377.zip
Normed so far
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;