aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_hud.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 17:07:31 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 17:07:31 +0100
commit7bf2e696d2020fbcecff5188cb00381882d9f7a4 (patch)
treec0b3270ad015d507bf2bd3b61b91a1741df905e0 /src/ft_draw_hud.c
parentNew file again (diff)
download42-cub3d-7bf2e696d2020fbcecff5188cb00381882d9f7a4.tar.gz
42-cub3d-7bf2e696d2020fbcecff5188cb00381882d9f7a4.tar.bz2
42-cub3d-7bf2e696d2020fbcecff5188cb00381882d9f7a4.tar.xz
42-cub3d-7bf2e696d2020fbcecff5188cb00381882d9f7a4.tar.zst
42-cub3d-7bf2e696d2020fbcecff5188cb00381882d9f7a4.zip
Slowly drawing
Diffstat (limited to 'src/ft_draw_hud.c')
-rw-r--r--src/ft_draw_hud.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ft_draw_hud.c b/src/ft_draw_hud.c
index 121e85e..046fca9 100644
--- a/src/ft_draw_hud.c
+++ b/src/ft_draw_hud.c
@@ -87,9 +87,7 @@ static void
y = clist->wlist.y_size - (clist->mlist.map_h * scl) - 45;
x_dest = 1.5 * clist->mlist.scale + 70;
while (x_dest > (clist->mlist.map_w * scl) + 20)
- {
x_dest--;
- }
while (x < x_dest)
{
while (y < clist->wlist.y_size - (clist->mlist.map_h * scl) - 20)