diff options
Diffstat (limited to 'src/ft_get_sprite_spawns.c')
-rw-r--r-- | src/ft_get_sprite_spawns.c | 3 |
1 files changed, 1 insertions, 2 deletions
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)); } |