From 322f3191c5a76cf702d4ddd7b1122219be3f5779 Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Mon, 16 Mar 2020 19:24:29 +0100 Subject: fix norme --- src/ft_draw_sprite.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ft_draw_sprite.c') diff --git a/src/ft_draw_sprite.c b/src/ft_draw_sprite.c index c4e305e..1294738 100644 --- a/src/ft_draw_sprite.c +++ b/src/ft_draw_sprite.c @@ -23,7 +23,7 @@ static void uint32_t tmp; uint32_t it; - it = *i; + it = *i; tmp = 0; if (dist_tab[it] < dist_tab[it + 1]) { @@ -61,9 +61,9 @@ void } it = -1; jt = -1; - while (++jt < cl->mlist.sprite_var) - while (++it < cl->mlist.sprite_nbr) - ft_sort_sprites_norme(dist_tab[jt], &it, jt, cl); + while (++jt < cl->mlist.sprite_var) + while (++it < cl->mlist.sprite_nbr) + ft_sort_sprites_norme(dist_tab[jt], &it, jt, cl); } static void -- cgit v1.2.3