aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_drawmap.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z3r8p1.le-101.fr>2020-02-13 18:37:31 +0100
committerRudy Bousset <rbousset@z3r8p1.le-101.fr>2020-02-13 18:37:31 +0100
commit5e40352aa28c29c7e10b11c576a743d03beeaaf1 (patch)
treea80a1ca9cefa7c61c26441df3d4d088ded83c708 /src/ft_drawmap.c
parentSmooth (diff)
download42-cub3d-5e40352aa28c29c7e10b11c576a743d03beeaaf1.tar.gz
42-cub3d-5e40352aa28c29c7e10b11c576a743d03beeaaf1.tar.bz2
42-cub3d-5e40352aa28c29c7e10b11c576a743d03beeaaf1.tar.xz
42-cub3d-5e40352aa28c29c7e10b11c576a743d03beeaaf1.tar.zst
42-cub3d-5e40352aa28c29c7e10b11c576a743d03beeaaf1.zip
Changed move speed
Diffstat (limited to '')
-rw-r--r--src/ft_drawmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_drawmap.c b/src/ft_drawmap.c
index 1526ae6..9f749ad 100644
--- a/src/ft_drawmap.c
+++ b/src/ft_drawmap.c
@@ -68,9 +68,9 @@ void
clist->wlist->x_size, clist->wlist->y_size);
clist->img.ptr = mlx_get_data_addr(clist->img.img, &clist->img.bpp,
&clist->img.sizeline, &clist->img.endian);
+ ft_castray(clist);
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);