diff --git a/map/parsing.c b/map/parsing.c index 5a4ba6d..a6d847a 100644 --- a/map/parsing.c +++ b/map/parsing.c @@ -61,7 +61,10 @@ t_map *map_parsing(const char *path) return (NULL); file_content = read_map(path); if (file_content == NULL) + { + ft_eprintf("map: file error"); return (NULL); + } header = get_header((const char **) file_content, &header_size); if (header_is_valid(header, map) == 0) {