From 7f450e0664b7eb103358b0eeb0667033f7fead85 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 2 Mar 2020 00:17:42 +0100 Subject: Another song --- src/ft_init_lists.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/ft_init_lists.c') diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index 65c28d8..fd8c75d 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -86,12 +86,7 @@ static t_cub clist->rlist = ft_init_s_ray(); clist->currlvl = 0; clist->walltexgood = 0; - clist->key_ptr[0] = ft_w_key; - clist->key_ptr[1] = ft_a_key; - clist->key_ptr[2] = ft_s_key; - clist->key_ptr[3] = ft_d_key; - clist->key_ptr[4] = ft_left_key; - clist->key_ptr[5] = ft_right_key; + ft_init_funptr(clist); return (clist); } -- cgit v1.2.3