From 76cefdc4dc3efa6eb410574a0f5ec42188ba11bd Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 29 Mar 2020 15:42:37 +0200 Subject: Almost --- src/ft_death_hooks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_death_hooks.c') diff --git a/src/ft_death_hooks.c b/src/ft_death_hooks.c index 1f0cb6c..c6705b0 100644 --- a/src/ft_death_hooks.c +++ b/src/ft_death_hooks.c @@ -26,7 +26,7 @@ static int if (keycode == FT_RET_KEY) { if (ft_warp_level(clist->mlist.filename, clist) < 0) - return (ft_error(FT_RET_ALLOC_ERR, FT_ERR_ALLOCATE, clist)); + return (ft_alloc_error(clist)); ft_draw_scene(clist); ft_hooks_and_loops(&clist->wlist, clist); return (0); -- cgit v1.2.3