aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_player_spawn.c
diff options
context:
space:
mode:
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);