diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ft_draw_sprite_extra.c | 1 | ||||
-rw-r--r-- | src/ft_get_sprite_spawns.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_draw_sprite_extra.c b/src/ft_draw_sprite_extra.c index c201566..3f0f474 100644 --- a/src/ft_draw_sprite_extra.c +++ b/src/ft_draw_sprite_extra.c @@ -47,6 +47,7 @@ static void (1 + sprite->transformx / sprite->transformy); } +#include <libft.h> void ft_calc_sprite(t_cub *cl) { diff --git a/src/ft_get_sprite_spawns.c b/src/ft_get_sprite_spawns.c index 9329c51..d65a17d 100644 --- a/src/ft_get_sprite_spawns.c +++ b/src/ft_get_sprite_spawns.c @@ -118,8 +118,8 @@ void clist->sprites[0][i].s_pos_x = x; clist->sprites[0][i].s_pos_y = y; i++; - ft_get_next_sprite(clist, 1, '3', 0); } + ft_get_next_sprite(clist, 1, '3', 0); x++; } x = 1; |