diff options
author | Rudy Bousset <rbousset@z2r5p1.le-101.fr> | 2020-03-04 20:27:51 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p1.le-101.fr> | 2020-03-04 20:27:51 +0100 |
commit | 073aca54bf8e3a20eba04cb4c26dc35ec43785e7 (patch) | |
tree | 77d22ad3456917af18f83c6a453850eb39674433 /src/ft_check_map_surrounds.c | |
parent | Correct (diff) | |
download | 42-cub3d-073aca54bf8e3a20eba04cb4c26dc35ec43785e7.tar.gz 42-cub3d-073aca54bf8e3a20eba04cb4c26dc35ec43785e7.tar.bz2 42-cub3d-073aca54bf8e3a20eba04cb4c26dc35ec43785e7.tar.xz 42-cub3d-073aca54bf8e3a20eba04cb4c26dc35ec43785e7.tar.zst 42-cub3d-073aca54bf8e3a20eba04cb4c26dc35ec43785e7.zip |
Music on macOS is half bav
Diffstat (limited to 'src/ft_check_map_surrounds.c')
-rw-r--r-- | src/ft_check_map_surrounds.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/ft_check_map_surrounds.c b/src/ft_check_map_surrounds.c index fbe2ff8..4b3f236 100644 --- a/src/ft_check_map_surrounds.c +++ b/src/ft_check_map_surrounds.c @@ -22,18 +22,10 @@ static int8_t map[y - 1][x] == ' ' || map[y][x + 1] == ' ' || map[y][x - 1] == ' ' || - map[y + 1][x + 1] == ' ' || - map[y - 1][x + 1] == ' ' || - map[y + 1][x - 1] == ' ' || - map[y - 1][x - 1] == ' ' || map[y + 1][x] == '\0' || map[y - 1][x] == '\0' || map[y][x + 1] == '\0' || - map[y][x - 1] == '\0' || - map[y + 1][x + 1] == '\0' || - map[y - 1][x + 1] == '\0' || - map[y + 1][x - 1] == '\0' || - map[y - 1][x - 1] == '\0') + map[y][x - 1] == '\0') return (-1); return (0); } |