diff options
-rw-r--r-- | src/ft_drawmap.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ft_drawmap.c b/src/ft_drawmap.c index 9f749ad..b8b4e2c 100644 --- a/src/ft_drawmap.c +++ b/src/ft_drawmap.c @@ -30,14 +30,14 @@ static void while (map[y][x]) { if (map[y][x] == '1') - ft_drawsquare(scale + (x * (scale + 1)), - scale + (y * (scale + 1)), 0x00aa99aa, clist); + ft_drawsquare(scale + (x * (scale)), + scale + (y * (scale)), 0x00aa99aa, clist); else if (map[y][x] == '2') - ft_drawsquare(scale + (x * (scale + 1)), - scale + (y * (scale + 1)), 0x0033ccff, clist); + ft_drawsquare(scale + (x * (scale)), + scale + (y * (scale)), 0x0033ccff, clist); else - ft_drawsquare(scale + (x * (scale + 1)), - scale + (y * (scale + 1)), + ft_drawsquare(scale + (x * (scale)), + scale + (y * (scale)), ft_rgb_to_hex(clist->f_rgb), clist); x++; } |