aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_map.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_draw_map.c2
1 files changed, 1 insertions, 1 deletions
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')