From fbb9864ef4799a9dc21aa2dbc60f05815900ac59 Mon Sep 17 00:00:00 2001 From: Camille Chauvet Date: Fri, 5 May 2023 14:51:37 +0000 Subject: [PATCH] fix: --- map/parsing_header2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map/parsing_header2.c b/map/parsing_header2.c index e543a17..7e6ae37 100644 --- a/map/parsing_header2.c +++ b/map/parsing_header2.c @@ -2,7 +2,7 @@ static int set_texture(t_map *map, int token, const char *key, char *value) { - if (map->img[token - 1] != NULL) + if (map->img_path[token - 1] != NULL) { ft_eprintf("redefinition of %s", key); return (1);