aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_drawmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_drawmap.c')
-rw-r--r--src/ft_drawmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_drawmap.c b/src/ft_drawmap.c
index ce5c0fc..1526ae6 100644
--- a/src/ft_drawmap.c
+++ b/src/ft_drawmap.c
@@ -70,6 +70,7 @@ void
&clist->img.sizeline, &clist->img.endian);
ft_draw_core_map(clist->map, clist);
ft_draw_player(clist->plist, clist);
+ ft_castray(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);