diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-11 09:59:17 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-11 09:59:17 +0100 |
commit | c1d1d76e0c88fbbbe4b1e0611a13a6a4df6cb424 (patch) | |
tree | 4d614a58567d9d7e58c53f29d2091c29c74c8075 /src/ft_init_funptr.c | |
parent | Reverted lvl_one size (diff) | |
download | 42-cub3d-c1d1d76e0c88fbbbe4b1e0611a13a6a4df6cb424.tar.gz 42-cub3d-c1d1d76e0c88fbbbe4b1e0611a13a6a4df6cb424.tar.bz2 42-cub3d-c1d1d76e0c88fbbbe4b1e0611a13a6a4df6cb424.tar.xz 42-cub3d-c1d1d76e0c88fbbbe4b1e0611a13a6a4df6cb424.tar.zst 42-cub3d-c1d1d76e0c88fbbbe4b1e0611a13a6a4df6cb424.zip |
Parsed traps
Diffstat (limited to 'src/ft_init_funptr.c')
-rw-r--r-- | src/ft_init_funptr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ft_init_funptr.c b/src/ft_init_funptr.c index 6bfa3f7..c74b2c8 100644 --- a/src/ft_init_funptr.c +++ b/src/ft_init_funptr.c @@ -29,7 +29,8 @@ void ft_sprintf(clist->ref[10], "MU"); ft_sprintf(clist->ref[11], "SH"); ft_sprintf(clist->ref[12], "SB"); - ft_bzero(clist->ref[13], 3); + ft_sprintf(clist->ref[13], "T"); + ft_bzero(clist->ref[14], 3); } void @@ -54,4 +55,5 @@ void clist->get_ptr[10] = ft_get_music; clist->get_ptr[11] = ft_get_darkness; clist->get_ptr[12] = ft_get_skybox; + clist->get_ptr[14] = ft_get_traps; } |