aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_death_hooks.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-29 17:38:46 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-29 17:38:46 +0200
commita07392fc219afc45000201d2f495694ad9b82763 (patch)
tree0eb3f2b9003ad7ceae4692242e46de56e55053b0 /src/ft_death_hooks.c
parentRemoved skybox shit (diff)
parentNorm (diff)
download42-cub3d-a07392fc219afc45000201d2f495694ad9b82763.tar.gz
42-cub3d-a07392fc219afc45000201d2f495694ad9b82763.tar.bz2
42-cub3d-a07392fc219afc45000201d2f495694ad9b82763.tar.xz
42-cub3d-a07392fc219afc45000201d2f495694ad9b82763.tar.zst
42-cub3d-a07392fc219afc45000201d2f495694ad9b82763.zip
Merge branch 'fix-details'
Diffstat (limited to 'src/ft_death_hooks.c')
-rw-r--r--src/ft_death_hooks.c2
1 files changed, 1 insertions, 1 deletions
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);