diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-02 00:17:42 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-02 00:17:42 +0100 |
commit | 7f450e0664b7eb103358b0eeb0667033f7fead85 (patch) | |
tree | 024a02d21a47074344a2905280e5c4fd78c6eb8b /src/ft_init_lists.c | |
parent | Preparing music (diff) | |
download | 42-cub3d-7f450e0664b7eb103358b0eeb0667033f7fead85.tar.gz 42-cub3d-7f450e0664b7eb103358b0eeb0667033f7fead85.tar.bz2 42-cub3d-7f450e0664b7eb103358b0eeb0667033f7fead85.tar.xz 42-cub3d-7f450e0664b7eb103358b0eeb0667033f7fead85.tar.zst 42-cub3d-7f450e0664b7eb103358b0eeb0667033f7fead85.zip |
Another song
Diffstat (limited to 'src/ft_init_lists.c')
-rw-r--r-- | src/ft_init_lists.c | 7 |
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); } |