From 8866ef5699150d0549096efa94fc311ff7a48dc7 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 3 Mar 2020 14:47:33 +0100 Subject: Changing stuff --- src/ft_get_nlvl_pos.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ft_get_nlvl_pos.c') diff --git a/src/ft_get_nlvl_pos.c b/src/ft_get_nlvl_pos.c index db726e1..d0bf3e7 100644 --- a/src/ft_get_nlvl_pos.c +++ b/src/ft_get_nlvl_pos.c @@ -20,14 +20,14 @@ void x = 1; y = 1; - while (ml->map[y]) + while (ml.map[y]) { - while (ml->map[y][x]) + while (ml.map[y][x]) { - if (ml->map[y][x] == 'L') + if (ml.map[y][x] == 'L') { - ml->nlx = x; - ml->nly = y; + ml.nlx = x; + ml.nly = y; return ; } x++; -- cgit v1.2.3