diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_draw_sprite.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ft_draw_sprite.c b/src/ft_draw_sprite.c index 19ceb9f..615bbd3 100644 --- a/src/ft_draw_sprite.c +++ b/src/ft_draw_sprite.c @@ -56,13 +56,12 @@ void } it = -1; } - it = -1; jt = -1; while (++jt < cl->mlist.sprite_var) { + it = -1; while (++it < cl->mlist.sprite_nbr[jt] - 1) ft_sort_sprites_norme(dist_tab[jt], &it, jt, cl); - it = -1; } ft_sort_s_t(cl, dist_tab); } |