From 2cb3a15a7d55f66ba9f87276bc236f1dddbcbbb3 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 30 Mar 2020 15:03:51 +0200 Subject: Alright --- src/ft_get_sprite_spawns.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ft_get_sprite_spawns.c') diff --git a/src/ft_get_sprite_spawns.c b/src/ft_get_sprite_spawns.c index d65a17d..c878341 100644 --- a/src/ft_get_sprite_spawns.c +++ b/src/ft_get_sprite_spawns.c @@ -90,8 +90,7 @@ int8_t x = 0; } ft_check_amount(clist, s_n); - if (/* clist->sprites[s_n][(i - 1 < 0) ? (0) : (i - 1)].s_pos_x != 0 - && */ s_n + 1 <= 7) + if (s_n + 1 <= 7) return (ft_get_next_sprite(clist, s_n + 1, c + 1, 0)); return (ft_other_next_sprite(clist, s_n)); } -- cgit v1.2.3