diff options
Diffstat (limited to 'src/ft_draw_scene.c')
-rw-r--r-- | src/ft_draw_scene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_draw_scene.c b/src/ft_draw_scene.c index 3f43495..f974d42 100644 --- a/src/ft_draw_scene.c +++ b/src/ft_draw_scene.c @@ -23,9 +23,9 @@ void clist->img.ptr = mlx_get_data_addr(clist->img.img, &clist->img.bpp, &clist->img.sizeline, &clist->img.endian); ft_castray(clist); - ft_calc_sprite(clist); if (clist->ishud) ft_draw_hud(clist); + ft_calc_sprite(clist); mlx_put_image_to_window(clist->wlist->wlx, clist->wlist->winptr, clist->img.img, 0, 0); mlx_destroy_image(clist->wlist->wlx, clist->img.img); |