diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2020-02-15 13:40:06 +0100 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2020-02-15 13:40:06 +0100 |
commit | acc6558cbcd580392ca481e12b4f145f7995a0ea (patch) | |
tree | 6609226de205bf55227eba0117229421c96ed974 /src/ft_get_player_spawn.c | |
parent | asdasd (diff) | |
download | 42-cub3d-acc6558cbcd580392ca481e12b4f145f7995a0ea.tar.gz 42-cub3d-acc6558cbcd580392ca481e12b4f145f7995a0ea.tar.bz2 42-cub3d-acc6558cbcd580392ca481e12b4f145f7995a0ea.tar.xz 42-cub3d-acc6558cbcd580392ca481e12b4f145f7995a0ea.tar.zst 42-cub3d-acc6558cbcd580392ca481e12b4f145f7995a0ea.zip |
swap east and west, add texture init function
Diffstat (limited to '')
-rw-r--r-- | src/ft_get_player_spawn.c | 4 |
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 |