From 425c256dae612779031a364c8f0c165d837c10a1 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sun, 2 Feb 2020 20:41:16 +0100 Subject: Removed useless printfs --- src/ft_drawmap.c | 2 +- src/ft_key_events.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/ft_drawmap.c b/src/ft_drawmap.c index ff5363b..eac41ba 100644 --- a/src/ft_drawmap.c +++ b/src/ft_drawmap.c @@ -49,7 +49,7 @@ static void const size_t x = plist->pos_x; const size_t y = plist->pos_y; - ft_drawsquare(40 + (x * 41), 40 + (y * 41), 0x001443fa, clist); + ft_drawsquare(40 + (x * 41), 40 + (y * 41), 0x009843fa, clist); } void diff --git a/src/ft_key_events.c b/src/ft_key_events.c index c34d28f..3fbfc6f 100644 --- a/src/ft_key_events.c +++ b/src/ft_key_events.c @@ -21,7 +21,6 @@ static int t_player *pl; pl = clist->plist; - ft_printf("[W]\n"); if (pl->view_side == 1) pl->pos_y -= 1; else if (pl->view_side == 2) @@ -40,7 +39,6 @@ static int t_player *pl; pl = clist->plist; - ft_printf("[A]\n"); pl->view_side -= 1; if (pl->view_side == 0) pl->view_side = 4; @@ -53,7 +51,6 @@ static int t_player *pl; pl = clist->plist; - ft_printf("[S]\n"); if (pl->view_side == 1) pl->pos_y += 1; else if (pl->view_side == 2) @@ -72,7 +69,6 @@ static int t_player *pl; pl = clist->plist; - ft_printf("[D]\n"); pl->view_side += 1; if (pl->view_side == 5) pl->view_side = 1; -- cgit v1.2.3