diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-28 16:32:37 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-28 16:32:37 +0100 |
commit | c1f91998d9cf530d86b6e8d2ddfecf06cae43664 (patch) | |
tree | c4b8ce0838786c9b487f36e3282c606ec93d5066 /src/ft_get_tex.c | |
parent | Got tex (diff) | |
download | 42-cub3d-c1f91998d9cf530d86b6e8d2ddfecf06cae43664.tar.gz 42-cub3d-c1f91998d9cf530d86b6e8d2ddfecf06cae43664.tar.bz2 42-cub3d-c1f91998d9cf530d86b6e8d2ddfecf06cae43664.tar.xz 42-cub3d-c1f91998d9cf530d86b6e8d2ddfecf06cae43664.tar.zst 42-cub3d-c1f91998d9cf530d86b6e8d2ddfecf06cae43664.zip |
Got sprite
Diffstat (limited to '')
-rw-r--r-- | src/ft_get_tex.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ft_get_tex.c b/src/ft_get_tex.c index a409a3c..3c0f305 100644 --- a/src/ft_get_tex.c +++ b/src/ft_get_tex.c @@ -10,7 +10,6 @@ ft_get_tex_no(char **words, t_cub *clist) ft_memdel(clist->no_tex_path); if (!(clist->no_tex_path = ft_strdup(*(words + 1)))) return (-1); - ft_free_words(words); return (0); } @@ -22,7 +21,6 @@ ft_get_tex_so(char **words, t_cub *clist) ft_memdel(clist->so_tex_path); if (!(clist->so_tex_path = ft_strdup(*(words + 1)))) return (-1); - ft_free_words(words); return (0); } @@ -34,7 +32,6 @@ ft_get_tex_ea(char **words, t_cub *clist) ft_memdel(clist->ea_tex_path); if (!(clist->ea_tex_path = ft_strdup(*(words + 1)))) return (-1); - ft_free_words(words); return (0); } @@ -46,6 +43,5 @@ ft_get_tex_we(char **words, t_cub *clist) ft_memdel(clist->we_tex_path); if (!(clist->we_tex_path = ft_strdup(*(words + 1)))) return (-1); - ft_free_words(words); return (0); } |