aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_select_get.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-03-12 18:56:59 +0100
committerRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-03-12 18:56:59 +0100
commit141fb4d33f73cac99b1b19e475f83fb755f208a2 (patch)
treee93c2d490440caee29f2c85d86c9dc9bd8512a28 /src/ft_select_get.c
parentkk (diff)
download42-cub3d-141fb4d33f73cac99b1b19e475f83fb755f208a2.tar.gz
42-cub3d-141fb4d33f73cac99b1b19e475f83fb755f208a2.tar.bz2
42-cub3d-141fb4d33f73cac99b1b19e475f83fb755f208a2.tar.xz
42-cub3d-141fb4d33f73cac99b1b19e475f83fb755f208a2.tar.zst
42-cub3d-141fb4d33f73cac99b1b19e475f83fb755f208a2.zip
good
Diffstat (limited to 'src/ft_select_get.c')
-rw-r--r--src/ft_select_get.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_select_get.c b/src/ft_select_get.c
index 745b26d..143dc09 100644
--- a/src/ft_select_get.c
+++ b/src/ft_select_get.c
@@ -57,8 +57,8 @@ static int8_t
return (-1);
if (ret == 13 && (clist->mlist.traps_path[0]))
return (-1);
- if (ret > 13 && ret < 21 && (clist->mlist.sprite_path[ret - 13][0]))
- return (-1);
+ if (ret > 13 && ret < 21 && (clist->mlist.sprite_path[ret - 13][0]))
+ return (-1);
return (ret);
}