From 2ea18fb7e893691389108ae7731e26576715ca13 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 31 Mar 2020 16:19:22 +0200 Subject: Alright sounds --- src/ft_del_sfx_cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ft_del_sfx_cmd.c') 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); } -- cgit v1.2.3