aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_check_map_line.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-02-02 18:26:58 +0100
committerRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-02-02 18:26:58 +0100
commitd943dbac7fc0d4908ebc5dfc85ad477bc776402a (patch)
treef7e79a41ffe61370afa70e7e8425451b228cf490 /src/ft_check_map_line.c
parentHeader norme (diff)
download42-cub3d-d943dbac7fc0d4908ebc5dfc85ad477bc776402a.tar.gz
42-cub3d-d943dbac7fc0d4908ebc5dfc85ad477bc776402a.tar.bz2
42-cub3d-d943dbac7fc0d4908ebc5dfc85ad477bc776402a.tar.xz
42-cub3d-d943dbac7fc0d4908ebc5dfc85ad477bc776402a.tar.zst
42-cub3d-d943dbac7fc0d4908ebc5dfc85ad477bc776402a.zip
Changed variable name
Diffstat (limited to '')
-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