diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-20 18:25:17 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-20 18:25:17 +0100 |
commit | 658997a30b6324fcf5b517b78148958b4a1e0e66 (patch) | |
tree | 1dcffd115bd44282e43f0f8cbbe0ff14f24895de /src/ft_draw_hud.c | |
parent | Bounce it (diff) | |
download | 42-cub3d-658997a30b6324fcf5b517b78148958b4a1e0e66.tar.gz 42-cub3d-658997a30b6324fcf5b517b78148958b4a1e0e66.tar.bz2 42-cub3d-658997a30b6324fcf5b517b78148958b4a1e0e66.tar.xz 42-cub3d-658997a30b6324fcf5b517b78148958b4a1e0e66.tar.zst 42-cub3d-658997a30b6324fcf5b517b78148958b4a1e0e66.zip |
it's not working at all
Diffstat (limited to 'src/ft_draw_hud.c')
-rw-r--r-- | src/ft_draw_hud.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_draw_hud.c b/src/ft_draw_hud.c index e852ec1..5feab32 100644 --- a/src/ft_draw_hud.c +++ b/src/ft_draw_hud.c @@ -45,7 +45,7 @@ static void x = 0; cl->tlist[16].tex_y = (y * y_ratio) >> 16; while (x < (uint16_t)((cl->mlist.map_w - * cl->mlist.scale) + 20 + (28 * cl->mlist.scale))) + * cl->mlist.scale) + 20 + (32 * cl->mlist.scale))) { cl->tlist[16].tex_x = (x * x_ratio) >> 16; ft_put_image_back_to_ptr(y, x, cl); @@ -64,7 +64,7 @@ static void x = 0; y = wl->y_size - (map_h * scl) - 20; - while (x < (map_w * scl) + 20 + (28 * scl)) + while (x < (map_w * scl) + 20 + (32 * scl)) { while (y < wl->y_size) y++; |