diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-29 15:42:37 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-29 15:42:37 +0200 |
commit | 76cefdc4dc3efa6eb410574a0f5ec42188ba11bd (patch) | |
tree | 755a05ecf1380be7e4011277e7aa657e9a76f6e6 /src/ft_draw_sprite.c | |
parent | Awesome (diff) | |
download | 42-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 '')
-rw-r--r-- | src/ft_draw_sprite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_draw_sprite.c b/src/ft_draw_sprite.c index 1b3f912..dc6f54f 100644 --- a/src/ft_draw_sprite.c +++ b/src/ft_draw_sprite.c @@ -42,7 +42,7 @@ void float **dist_tab; if (!(dist_tab = ft_alloc_dist_tab())) - ft_error(FT_RET_ALLOC_ERR, FT_ERR_ALLOCATE, cl); + ft_alloc_error(cl); while (++jt < FT_TOTAL_SPRT) { while (++it < cl->mlist.sprite_nbr[jt]) |