diff options
Diffstat (limited to '')
-rw-r--r-- | map/map_seven.cub | 2 | ||||
-rw-r--r-- | src/ft_get_sprite_spawns.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/map/map_seven.cub b/map/map_seven.cub index 50592ae..57b2576 100644 --- a/map/map_seven.cub +++ b/map/map_seven.cub @@ -23,5 +23,5 @@ C 150,150,150 1000000000000000001 10000000@0000000001 1000000000000000001 -10200000N0000000201 +10000000N0000000001 1111111111111111111 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)); } |