diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_drawmap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ft_drawmap.c b/src/ft_drawmap.c index c0854e0..3466df0 100644 --- a/src/ft_drawmap.c +++ b/src/ft_drawmap.c @@ -17,6 +17,9 @@ ft_drawmap(t_cub *clist) if (clist->map[x][y] == '1') ft_drawsquare(40 + (y * 41), 40 + (x * 41), clist->f_color, clist); + if (clist->map[x][y] == '0') + ft_drawsquare(40 + (y * 41), 40 + (x * 41), + clist->c_color, clist); y++; } y = 0; |