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 4e392e8..fa99fdf 100644
--- a/src/ft_get_player_spawn.c
+++ b/src/ft_get_player_spawn.c
@@ -61,11 +61,11 @@ static void
ft_get_start_side(char c, t_player *pl)
{
if (c == 'E')
- ft_get_e_dir(pl);
+ ft_get_w_dir(pl);
else if (c == 'S')
ft_get_s_dir(pl);
else if (c == 'W')
- ft_get_w_dir(pl);
+ ft_get_e_dir(pl);
}
void