aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_sprite_extra.c
diff options
context:
space:
mode:
authorsalaaad2 <arthudurant263@gmail.com>2020-03-16 19:43:16 +0100
committersalaaad2 <arthudurant263@gmail.com>2020-03-16 19:43:16 +0100
commit0cde149ec5e478c3d6283136065ff0129231c25d (patch)
tree36f13a15446b9335b342f742a2e186ad5a4c28a8 /src/ft_draw_sprite_extra.c
parentfix norme2 (diff)
download42-cub3d-0cde149ec5e478c3d6283136065ff0129231c25d.tar.gz
42-cub3d-0cde149ec5e478c3d6283136065ff0129231c25d.tar.bz2
42-cub3d-0cde149ec5e478c3d6283136065ff0129231c25d.tar.xz
42-cub3d-0cde149ec5e478c3d6283136065ff0129231c25d.tar.zst
42-cub3d-0cde149ec5e478c3d6283136065ff0129231c25d.zip
bunchoshit
Diffstat (limited to 'src/ft_draw_sprite_extra.c')
-rw-r--r--src/ft_draw_sprite_extra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_draw_sprite_extra.c b/src/ft_draw_sprite_extra.c
index 523bf3d..6096522 100644
--- a/src/ft_draw_sprite_extra.c
+++ b/src/ft_draw_sprite_extra.c
@@ -13,7 +13,6 @@
#include <libft.h>
#include <cub3d.h>
#include <stdint.h>
-#include <stdio.h>
#include <stdlib.h>
#include <math.h>
@@ -64,6 +63,7 @@ void
i = 0;
j = 0;
ft_sort_sprites(cl);
+ ft_sort_s_t(cl, cl->sprites);
while (j < cl->mlist.sprite_var)
{
while (i < cl->mlist.sprite_nbr)