This commit is contained in:
Camille Chauvet 2023-05-16 10:51:48 +00:00
parent b9dddba82a
commit 3bf2ab4318

View File

@ -90,5 +90,5 @@ int header_is_valid(char ***header, t_map *map)
return (0); return (0);
i++; i++;
} }
return (!map->img_path[0] || !map->img_path[1] || !map->img_path[2]|| !map->img_path[3] || map->color_top == -1 || map->color_bot == -1);t return (!map->img_path[0] || !map->img_path[1] || !map->img_path[2]|| !map->img_path[3] || map->color_top == -1 || map->color_bot == -1);
} }