diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-31 16:19:22 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-31 16:19:22 +0200 |
commit | 2ea18fb7e893691389108ae7731e26576715ca13 (patch) | |
tree | c6a4ccfb785ff7289279d6b08997939c36b4c9ca /src/ft_del_sfx_cmd.c | |
parent | Good (diff) | |
download | 42-cub3d-2ea18fb7e893691389108ae7731e26576715ca13.tar.gz 42-cub3d-2ea18fb7e893691389108ae7731e26576715ca13.tar.bz2 42-cub3d-2ea18fb7e893691389108ae7731e26576715ca13.tar.xz 42-cub3d-2ea18fb7e893691389108ae7731e26576715ca13.tar.zst 42-cub3d-2ea18fb7e893691389108ae7731e26576715ca13.zip |
Alright sounds
Diffstat (limited to '')
-rw-r--r-- | src/ft_del_sfx_cmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_del_sfx_cmd.c b/src/ft_del_sfx_cmd.c index 4fd38ee..9d33eb9 100644 --- a/src/ft_del_sfx_cmd.c +++ b/src/ft_del_sfx_cmd.c @@ -20,11 +20,12 @@ void uint8_t i; i = 0; - while (i < 13) + while (i < 16) { ft_memdel((void*)&clist->sfx[i].cmd); i++; } ft_memdel((void*)&clist->sfx[1].cmd_alt); ft_memdel((void*)&clist->sfx[3].cmd_alt); + ft_memdel((void*)&clist->sfx[14].cmd_alt); } |