From 7f57c427d26d8b0c63feac5d0e7b8249707913eb Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 26 Mar 2020 16:11:56 +0100 Subject: Stack overflow fix --- src/ft_warp_level.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ft_warp_level.c') diff --git a/src/ft_warp_level.c b/src/ft_warp_level.c index 5055445..b6d1c38 100644 --- a/src/ft_warp_level.c +++ b/src/ft_warp_level.c @@ -64,6 +64,7 @@ static int8_t return (-1); if (ft_init_map(&cl->mlist) < 0) return (-1); + ft_printf("[r %d] [g %d] [b %d]\n", cl->c_rgb.r, cl->c_rgb.g, cl->c_rgb.b); i = 0; while (i < 5) { @@ -101,6 +102,7 @@ int8_t char *tmp_mup; uint8_t isoldmus; + cl->walltexgood = 0; if (!(next_path = (char *)malloc((ft_strlen(path) + 1) * sizeof(char)))) return (-1); ft_sprintf(next_path, "%s", path); -- cgit v1.2.3