aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_nlvl_pos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_get_nlvl_pos.c')
-rw-r--r--src/ft_get_nlvl_pos.c10
1 files changed, 5 insertions, 5 deletions
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++;