From d943dbac7fc0d4908ebc5dfc85ad477bc776402a Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sun, 2 Feb 2020 18:26:58 +0100 Subject: Changed variable name --- src/ft_check_map_line.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ft_check_map_line.c') 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 -- cgit v1.2.3