diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_draw_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_draw_map.c b/src/ft_draw_map.c index e32b4e9..86865fa 100644 --- a/src/ft_draw_map.c +++ b/src/ft_draw_map.c @@ -6,7 +6,7 @@ static void { const float x = plist->pos_x; const float y = plist->pos_y - 1; - const uint16_t scale = clist->scale; + const uint16_t scale = clist->mlist->scale; ft_draw_square( scale + (x * (scale)), @@ -18,7 +18,7 @@ static void void ft_draw_map(char **map, t_cub *clist) { - const uint8_t scale = clist->scale; + const uint8_t scale = clist->mlist->scale; size_t x; size_t y; |