aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ft_draw_sprite_extra.c1
-rw-r--r--src/ft_get_sprite_spawns.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/ft_draw_sprite_extra.c b/src/ft_draw_sprite_extra.c
index e592da0..180702b 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 e8eafa9..affcf57 100644
--- a/src/ft_get_sprite_spawns.c
+++ b/src/ft_get_sprite_spawns.c
@@ -37,8 +37,8 @@ void
}
x = 0;
}
- if (clist->sprites[s_n][(i - 1 < 0) ? (0) : (i - 1)].s_pos_x != 0
- && s_n + 1 <= 7)
+ if (/* clist->sprites[s_n][(i - 1 < 0) ? (0) : (i - 1)].s_pos_x != 0
+ && */ s_n + 1 <= 7)
{
ft_get_next_sprite(clist, s_n + 1, c + 1, 0);
}