From 30c98bdd426e0421ea9b9b993e0eda4ddf16d07e Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 23 Feb 2020 16:48:23 +0100 Subject: life bar is fucked up but okok --- inc/cub3d.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'inc') diff --git a/inc/cub3d.h b/inc/cub3d.h index e8e3249..4c4e22b 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -85,7 +85,9 @@ void ft_draw_texture(t_cub *cl, int x, int y, int tex_y); int8_t ft_check_not_found(const char *path); void ft_calc_tex(t_cub *clist); void ft_draw_hud(t_cub *clist); -void ft_draw_life_bar(size_t map_w, uint16_t scale, - int8_t life, t_cub *cl); +void ft_draw_life_bar(size_t map_w, + const uint16_t scale, + const int8_t life, + t_cub *cl); # endif -- cgit v1.2.3