From 05267f2bf7cbb6b7f05f65d63cc12bb9ca0d375a Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 14 Mar 2020 18:09:33 +0100 Subject: Can't death hook --- src/ft_death_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_death_screen.c') diff --git a/src/ft_death_screen.c b/src/ft_death_screen.c index de8bcc9..7afff98 100644 --- a/src/ft_death_screen.c +++ b/src/ft_death_screen.c @@ -71,7 +71,7 @@ void ft_calc_death_screen(cl); mlx_put_image_to_window(cl->wlist.wlx, cl->wlist.winptr, cl->img.img, 0, 0); - ft_hooks_and_loops(&cl->wlist, cl); + 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); -- cgit v1.2.3