aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_player_spawn.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-02-02 20:29:00 +0100
committerRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-02-02 20:29:00 +0100
commitb7261229b7b83ebeae7384fd1a6d0cc3ee9eb50e (patch)
tree22581da209cf6e78c962eaeea4093f1156f706b1 /src/ft_get_player_spawn.c
parentIt moves (diff)
download42-cub3d-b7261229b7b83ebeae7384fd1a6d0cc3ee9eb50e.tar.gz
42-cub3d-b7261229b7b83ebeae7384fd1a6d0cc3ee9eb50e.tar.bz2
42-cub3d-b7261229b7b83ebeae7384fd1a6d0cc3ee9eb50e.tar.xz
42-cub3d-b7261229b7b83ebeae7384fd1a6d0cc3ee9eb50e.tar.zst
42-cub3d-b7261229b7b83ebeae7384fd1a6d0cc3ee9eb50e.zip
Cool
Diffstat (limited to 'src/ft_get_player_spawn.c')
-rw-r--r--src/ft_get_player_spawn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_get_player_spawn.c b/src/ft_get_player_spawn.c
index 7b37d23..cc41955 100644
--- a/src/ft_get_player_spawn.c
+++ b/src/ft_get_player_spawn.c
@@ -20,9 +20,9 @@ static uint8_t
{
if (c == 'N')
return (1);
- else if (c == 'S')
- return (2);
else if (c == 'E')
+ return (2);
+ else if (c == 'S')
return (3);
else if (c == 'W')
return (4);