aboutsummaryrefslogtreecommitdiff
path: root/parse/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse/parse.c')
-rw-r--r--parse/parse.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/parse/parse.c b/parse/parse.c
index f543ca5..8f3124d 100644
--- a/parse/parse.c
+++ b/parse/parse.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/11/15 09:29:21 by cacharle #+# #+# */
-/* Updated: 2019/11/15 09:32:54 by cacharle ### ########.fr */
+/* Updated: 2019/11/18 17:21:38 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -23,6 +23,8 @@ t_parsing *parse(char *filename)
if ((parsing = (t_parsing*)malloc(sizeof(t_parsing))) == NULL)
return (NULL);
parsing->map = NULL;
+ parsing->ceilling_color.hexcode = 0;
+ parsing->floor_color.hexcode = 0;
i = -1;
while (lines[++i] != NULL)
{