diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-16 19:28:18 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-16 19:28:18 +0100 |
commit | 7f3461875572335eedffa272226199dd1c2fc92a (patch) | |
tree | ab0a7ac913340dc09222cd49c72ead44ddc93fd4 /src/ft_get_sprite.c | |
parent | Still searching (diff) | |
download | 42-cub3d-7f3461875572335eedffa272226199dd1c2fc92a.tar.gz 42-cub3d-7f3461875572335eedffa272226199dd1c2fc92a.tar.bz2 42-cub3d-7f3461875572335eedffa272226199dd1c2fc92a.tar.xz 42-cub3d-7f3461875572335eedffa272226199dd1c2fc92a.tar.zst 42-cub3d-7f3461875572335eedffa272226199dd1c2fc92a.zip |
Cleaner memdels
Diffstat (limited to '')
-rw-r--r-- | src/ft_get_sprite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_get_sprite.c b/src/ft_get_sprite.c index ed44d9b..5a5ecd0 100644 --- a/src/ft_get_sprite.c +++ b/src/ft_get_sprite.c @@ -53,7 +53,7 @@ static int8_t static int8_t ft_get_sprite_norme(int8_t id, char **words, t_cub *clist) { - ft_memdel((void**)&clist->mlist.sprite_path[id]); + ft_memdel((void*)&clist->mlist.sprite_path[id]); if (!(clist->mlist.sprite_path[id] = ft_strdup(*(words + 1)))) { ft_sprintf(clist->errmsg, FT_ERR_ALLOCATE); |