From cfc2ab3f0c94234a98be573af394b23868166f84 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 7 Mar 2020 22:26:28 +0100 Subject: Got secret door bonus --- src/ft_draw_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_draw_map.c') diff --git a/src/ft_draw_map.c b/src/ft_draw_map.c index 2ca5f37..232891c 100644 --- a/src/ft_draw_map.c +++ b/src/ft_draw_map.c @@ -49,7 +49,7 @@ void { while (map[y][x]) { - if (map[y][x] == '1') + if (ft_ischarset("1D", map[y][x])) ft_draw_square(scale + 9 + (x * (scale)), ft_y_offset(clist) - 9 + (y * (scale)), 0x00ca5422, clist); else if (map[y][x] == '2') -- cgit v1.2.3