aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_lists.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_init_lists.c7
1 files changed, 1 insertions, 6 deletions
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);
}