mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 01:48:08 +01:00
no flood fill I guess
This commit is contained in:
parent
b30dda9c62
commit
9ba3771ebf
1 changed files with 1 additions and 4 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: tchampio <tchampio@student.42lehavre. +#+ +:+ +#+ */
|
/* By: tchampio <tchampio@student.42lehavre. +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2025/06/06 17:54:42 by tchampio #+# #+# */
|
/* Created: 2025/06/06 17:54:42 by tchampio #+# #+# */
|
||||||
/* Updated: 2025/06/20 19:45:07 by tchampio ### ########.fr */
|
/* Updated: 2025/06/20 19:53:53 by tchampio ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -314,8 +314,5 @@ bool check_cubfile(char *file, t_mapdata *map)
|
||||||
"Map is malformed (invalid chars or missing walls)", 51), false);
|
"Map is malformed (invalid chars or missing walls)", 51), false);
|
||||||
if (!check_bare_minimum(map))
|
if (!check_bare_minimum(map))
|
||||||
return (close(fd), false);
|
return (close(fd), false);
|
||||||
// if (!flood_fill(map->mapflood))
|
|
||||||
// return (close(fd), ft_strlcpy(map->error,
|
|
||||||
// "Map is not possible (flood fill failed)", 41), false);
|
|
||||||
return (true);
|
return (true);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue