Norminette errors
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/12/04 09:28:05 by aortigos #+# #+# */
|
||||
/* Updated: 2025/12/15 10:27:21 by aortigos ### ########.fr */
|
||||
/* Updated: 2026/01/11 16:04:46 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -67,7 +67,8 @@ int read_map_(t_data *map, int count)
|
||||
if (!map->map2d)
|
||||
return (ft_memfree(map->map), 0);
|
||||
ft_memfree(map->map);
|
||||
if (!check_tures_space_tab(map->texture2d, count) || !parse_rgb(map->texture2d)
|
||||
if (!check_tures_space_tab(map->texture2d, count)
|
||||
|| !parse_rgb(map->texture2d)
|
||||
|| !check_dup(map) || !check_first_last_line(map->map2d)
|
||||
|| !surrounded_by_one(map->map2d))
|
||||
return (free2d(map->map2d), 0);
|
||||
|
||||
Reference in New Issue
Block a user