Archived
1
0

Parsing Finish

This commit is contained in:
Maelys Dumergue
2024-09-29 20:40:33 +02:00
parent 073fd2f2ff
commit 6c9d2b3931
20 changed files with 136 additions and 131 deletions

View File

@ -6,11 +6,11 @@
/* By: madumerg <madumerg@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/28 15:40:12 by madumerg #+# #+# */
/* Updated: 2024/09/28 17:32:55 by madumerg ### ########.fr */
/* Updated: 2024/09/29 20:35:35 by madumerg ### ########.fr */
/* */
/* ************************************************************************** */
#include "cub3d.h"
#include "parsing.h"
char *fill_line(char *l, int size)
{
@ -56,7 +56,10 @@ char **alloc_map(char **old_map, int size)
{
tmp[i] = fill_line(old_map[j], size);
if (tmp[i] == NULL)
{
free_tab(tmp);
return (NULL);
}
i++;
j++;
}