diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_drawsquare.c | 3 | ||||
-rw-r--r-- | src/ft_parse_map.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ft_drawsquare.c b/src/ft_drawsquare.c index 78ebd8c..df055fa 100644 --- a/src/ft_drawsquare.c +++ b/src/ft_drawsquare.c @@ -13,7 +13,8 @@ ft_drawsquare(t_win *wlist, int a, int b) { while (y > b - 40) { - mlx_pixel_put(wlist->wlx, wlist->winptr, x, y, 0255255255); + mlx_pixel_put(wlist->wlx, wlist->winptr, x, y, + wlist->clist->f_color); y--; } y = b; diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c index c7081b1..32ba5d8 100644 --- a/src/ft_parse_map.c +++ b/src/ft_parse_map.c @@ -55,4 +55,5 @@ ft_parse_map(const char *map_path, t_win *wlist) return ; ft_get_colors(fd, wlist); ft_print_list(wlist); + ft_check_empty_line(fd, 10, wlist); } |