fix: check if all header value is define
This commit is contained in:
parent
d22ab7e610
commit
f56ec19ebc
@ -90,5 +90,5 @@ int header_is_valid(char ***header, t_map *map)
|
||||
return (0);
|
||||
i++;
|
||||
}
|
||||
return (1);
|
||||
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user