diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-29 17:38:46 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-29 17:38:46 +0200 |
commit | a07392fc219afc45000201d2f495694ad9b82763 (patch) | |
tree | 0eb3f2b9003ad7ceae4692242e46de56e55053b0 /src/ft_warp_level.c | |
parent | Removed skybox shit (diff) | |
parent | Norm (diff) | |
download | 42-cub3d-a07392fc219afc45000201d2f495694ad9b82763.tar.gz 42-cub3d-a07392fc219afc45000201d2f495694ad9b82763.tar.bz2 42-cub3d-a07392fc219afc45000201d2f495694ad9b82763.tar.xz 42-cub3d-a07392fc219afc45000201d2f495694ad9b82763.tar.zst 42-cub3d-a07392fc219afc45000201d2f495694ad9b82763.zip |
Merge branch 'fix-details'
Diffstat (limited to 'src/ft_warp_level.c')
-rw-r--r-- | src/ft_warp_level.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ft_warp_level.c b/src/ft_warp_level.c index 5055445..f9fac3e 100644 --- a/src/ft_warp_level.c +++ b/src/ft_warp_level.c @@ -60,8 +60,6 @@ static int8_t ft_del_sprites_lists(cl); if (ft_init_sprites(&cl->sprites) < 0) return (-1); - if (ft_init_weaps(&cl->weaps) < 0) - return (-1); if (ft_init_map(&cl->mlist) < 0) return (-1); i = 0; @@ -101,6 +99,7 @@ int8_t char *tmp_mup; uint8_t isoldmus; + cl->walltexgood = 0; if (!(next_path = (char *)malloc((ft_strlen(path) + 1) * sizeof(char)))) return (-1); ft_sprintf(next_path, "%s", path); |