aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_check_map_line.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_check_map_line.c')
-rw-r--r--src/ft_check_map_line.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_check_map_line.c b/src/ft_check_map_line.c
index 5ca8bcf..13baaef 100644
--- a/src/ft_check_map_line.c
+++ b/src/ft_check_map_line.c
@@ -45,8 +45,8 @@ int8_t
if (!ft_ischarset("012NSEW ", line[i]))
return (-1);
if (ft_ischarset("NSEW", line[i]))
- clist->nsew += 1;
- if (clist->nsew > 1)
+ clist->isspawn += 1;
+ if (clist->isspawn > 1)
return (-1);
}
else