From e29dd2fa3688e1e96a25af3b651da574af08aa90 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Thu, 13 Feb 2020 19:42:05 +0100 Subject: Splited structs --- src/ft_draw_scene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_draw_scene.c') diff --git a/src/ft_draw_scene.c b/src/ft_draw_scene.c index 57cecd4..4a5b56e 100644 --- a/src/ft_draw_scene.c +++ b/src/ft_draw_scene.c @@ -26,7 +26,7 @@ void &clist->img.sizeline, &clist->img.endian); ft_castray(clist); if (clist->minimap) - ft_draw_map(clist->map, clist); + ft_draw_map(clist->mlist->map, clist); mlx_put_image_to_window(clist->wlist->wlx, clist->wlist->winptr, clist->img.img, 0, 0); mlx_destroy_image(clist->wlist->wlx, clist->img.img); -- cgit v1.2.3