aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_hud.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_draw_hud.c')
-rw-r--r--src/ft_draw_hud.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ft_draw_hud.c b/src/ft_draw_hud.c
index f807714..fe73af8 100644
--- a/src/ft_draw_hud.c
+++ b/src/ft_draw_hud.c
@@ -10,6 +10,7 @@
/* */
/* ************************************************************************** */
+#include <libft.h>
#include <cub3d.h>
#include <mlx.h>
#include <stdint.h>
@@ -43,10 +44,11 @@ static void
}
}
-void
+int8_t
ft_draw_hud(t_cub *clist)
{
ft_draw_minimap_back(clist->mlist.map_h,
clist->mlist.map_w, &clist->wlist, clist);
ft_draw_map(clist->mlist.map, clist);
+ return (0);
}