diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-14 17:55:10 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-14 17:55:10 +0100 |
commit | 4e48d1db8427953cd44a9c7e0db07bd912278166 (patch) | |
tree | 92e3c67e03d1ce4a0fa5fcd5184fc27ce7d7ead9 /src | |
parent | The screen is there (diff) | |
download | 42-cub3d-4e48d1db8427953cd44a9c7e0db07bd912278166.tar.gz 42-cub3d-4e48d1db8427953cd44a9c7e0db07bd912278166.tar.bz2 42-cub3d-4e48d1db8427953cd44a9c7e0db07bd912278166.tar.xz 42-cub3d-4e48d1db8427953cd44a9c7e0db07bd912278166.tar.zst 42-cub3d-4e48d1db8427953cd44a9c7e0db07bd912278166.zip |
At least it's there
Diffstat (limited to 'src')
-rw-r--r-- | src/ft_death_screen.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ft_death_screen.c b/src/ft_death_screen.c index 30bed48..e860c56 100644 --- a/src/ft_death_screen.c +++ b/src/ft_death_screen.c @@ -65,8 +65,7 @@ void mlx_put_image_to_window(cl->wlist.wlx, cl->wlist.winptr, cl->img.img, 0, 0); ft_hooks_and_loops(&cl->wlist, cl); + sleep(8); mlx_destroy_image(cl->wlist.wlx, cl->img.img); mlx_destroy_image(cl->wlist.wlx, cl->death_screen.img); - while (1) - sleep(4); } |