diff options
Diffstat (limited to '')
-rw-r--r-- | map/map_one.cub | 2 | ||||
-rw-r--r-- | src/ft_draw_sprite_extra.c | 1 | ||||
-rw-r--r-- | src/ft_get_sprite_spawns.c | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/map/map_one.cub b/map/map_one.cub index 16c0ec0..83c6a37 100644 --- a/map/map_one.cub +++ b/map/map_one.cub @@ -27,7 +27,7 @@ SH 2 1000000000000000001 111111111111000000000005000001 10000000000000000T0T0T00000001 -100000000000020304000000T0T001 +100000000000000304000000T0T001 100000000000000000000000000001 1001000000T0000000000000000001 10110+0+0111000001110000000111 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; |