aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_hud.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-23 15:07:56 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-23 15:07:56 +0100
commit6a59f0977efc8a25f98fb35b381432484efa1289 (patch)
treeebdec6004f1fdbe33c66e81724734e331db5f896 /src/ft_draw_hud.c
parentok for now (diff)
download42-cub3d-6a59f0977efc8a25f98fb35b381432484efa1289.tar.gz
42-cub3d-6a59f0977efc8a25f98fb35b381432484efa1289.tar.bz2
42-cub3d-6a59f0977efc8a25f98fb35b381432484efa1289.tar.xz
42-cub3d-6a59f0977efc8a25f98fb35b381432484efa1289.tar.zst
42-cub3d-6a59f0977efc8a25f98fb35b381432484efa1289.zip
Good start
Diffstat (limited to 'src/ft_draw_hud.c')
-rw-r--r--src/ft_draw_hud.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_draw_hud.c b/src/ft_draw_hud.c
index ff87f37..1074e3b 100644
--- a/src/ft_draw_hud.c
+++ b/src/ft_draw_hud.c
@@ -44,11 +44,12 @@ static void
int8_t
ft_draw_hud(t_cub *clist)
{
+ ft_draw_ammo_back(clist);
ft_draw_minimap_back(clist);
ft_draw_map(clist->mlist.map, clist);
- /* ft_draw_ammo_back(clist->mlist.map, clist); */
ft_draw_life_bar(clist);
ft_draw_health_caption(clist);
+ ft_draw_ammo_caption(clist);
if (clist->mlist.isnlvl)
{
ft_draw_stage_back(clist);