diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-23 16:21:36 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-23 16:21:36 +0100 |
commit | 06ce772faa11c3ef38e00b85c56b6b195bf68c56 (patch) | |
tree | c77f9aaabb0d7c433dc2006dbc4f9a31fd101327 /src/ft_draw_life_bar.c | |
parent | It's going well (diff) | |
download | 42-cub3d-06ce772faa11c3ef38e00b85c56b6b195bf68c56.tar.gz 42-cub3d-06ce772faa11c3ef38e00b85c56b6b195bf68c56.tar.bz2 42-cub3d-06ce772faa11c3ef38e00b85c56b6b195bf68c56.tar.xz 42-cub3d-06ce772faa11c3ef38e00b85c56b6b195bf68c56.tar.zst 42-cub3d-06ce772faa11c3ef38e00b85c56b6b195bf68c56.zip |
Stuff to fix but ok
Diffstat (limited to '')
-rw-r--r-- | src/ft_draw_life_bar.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ft_draw_life_bar.c b/src/ft_draw_life_bar.c index 955f20d..b7dc161 100644 --- a/src/ft_draw_life_bar.c +++ b/src/ft_draw_life_bar.c @@ -69,7 +69,6 @@ static void const size_t len = ft_strlen(num); const int16_t scl = cl->mlist.scale; - (void)cl; if (len == 3) { ft_put_next_number(num[0], 0, cl); @@ -96,7 +95,6 @@ static void y = cl->wlist.y_size - (cl->mlist.map_h * scl) - 10; while (y < (int16_t)(cl->wlist.y_size - 50)) { - x = ((cl->mlist.map_w * scl) + 20) + (24 * scl) - ((24 * scl) / 4); while (x < (int16_t)((cl->mlist.map_w * scl) + 10 + ((24 * scl)))) x++; y++; |