aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_scene.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-29 15:42:37 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-29 15:42:37 +0200
commit76cefdc4dc3efa6eb410574a0f5ec42188ba11bd (patch)
tree755a05ecf1380be7e4011277e7aa657e9a76f6e6 /src/ft_draw_scene.c
parentAwesome (diff)
download42-cub3d-76cefdc4dc3efa6eb410574a0f5ec42188ba11bd.tar.gz
42-cub3d-76cefdc4dc3efa6eb410574a0f5ec42188ba11bd.tar.bz2
42-cub3d-76cefdc4dc3efa6eb410574a0f5ec42188ba11bd.tar.xz
42-cub3d-76cefdc4dc3efa6eb410574a0f5ec42188ba11bd.tar.zst
42-cub3d-76cefdc4dc3efa6eb410574a0f5ec42188ba11bd.zip
Almost
Diffstat (limited to 'src/ft_draw_scene.c')
-rw-r--r--src/ft_draw_scene.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_draw_scene.c b/src/ft_draw_scene.c
index 86009f6..74b8315 100644
--- a/src/ft_draw_scene.c
+++ b/src/ft_draw_scene.c
@@ -75,7 +75,7 @@ void
{
ft_put_fps(clist);
if (clist->mlist.isnlvl && ft_put_stage(clist) < 0)
- ft_error(FT_RET_ALLOC_ERR, FT_ERR_ALLOCATE, clist);
+ ft_alloc_error(clist);
}
}