aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 623787b..4cbd7a2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -16,7 +16,7 @@
#include <stdlib.h>
int
- main(int argc, const char *argv[], char *const envp[])
+ main(int argc, const char *argv[])
{
t_cub *clist;
@@ -29,8 +29,6 @@ int
ft_parse_map(argv[1], clist);
if (ft_init_winlx(clist) < 0)
return (ft_exit(FT_RET_FAILED_MLX, clist));
- ft_wall_tex_init(clist);
- ft_weap_tex_init(clist);
- ft_use_args(argc, argv, envp, clist);
+ ft_use_args(argc, argv, clist);
return (FT_RET_FINE);
}