aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ft_draw_textures.c8
-rw-r--r--src/ft_key_loop.c1
2 files changed, 5 insertions, 4 deletions
diff --git a/src/ft_draw_textures.c b/src/ft_draw_textures.c
index 25a6863..c718fd2 100644
--- a/src/ft_draw_textures.c
+++ b/src/ft_draw_textures.c
@@ -16,10 +16,10 @@
#include <stdio.h>
/*
-** 0 : no
-** 1 : so
-** 2 : ea
-** 3 : we
+** 1 : no
+** 0 : so
+** 3 : ea
+** 4 : we
** 4 : sprite
*/
diff --git a/src/ft_key_loop.c b/src/ft_key_loop.c
index b902e33..0556384 100644
--- a/src/ft_key_loop.c
+++ b/src/ft_key_loop.c
@@ -13,6 +13,7 @@
#include <libft.h>
#include <cub3d.h>
#include <stdint.h>
+#include <stdio.h>
static void
ft_collision(float old_y, float old_x, t_player *pl, t_map *ml)