diff options
Diffstat (limited to 'src/ft_death_screen.c')
-rw-r--r-- | src/ft_death_screen.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ft_death_screen.c b/src/ft_death_screen.c index 7afff98..16d75d5 100644 --- a/src/ft_death_screen.c +++ b/src/ft_death_screen.c @@ -71,8 +71,7 @@ void ft_calc_death_screen(cl); mlx_put_image_to_window(cl->wlist.wlx, cl->wlist.winptr, cl->img.img, 0, 0); + /* mlx_destroy_image(cl->wlist.wlx, cl->death_screen.img); */ + /* mlx_destroy_image(cl->wlist.wlx, cl->img.img); */ ft_death_hooks(&cl->wlist, cl); - sleep(8); - mlx_destroy_image(cl->wlist.wlx, cl->img.img); - mlx_destroy_image(cl->wlist.wlx, cl->death_screen.img); } |