diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-02 14:24:57 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-02 14:24:57 +0200 |
commit | 8a695d62dcb9b8783918263f962b986df20310f2 (patch) | |
tree | 37e3c4e286abcec481bbc8169c7297e1ec07b578 /src/ft_init_lists.c | |
parent | Later (diff) | |
download | 42-cub3d-8a695d62dcb9b8783918263f962b986df20310f2.tar.gz 42-cub3d-8a695d62dcb9b8783918263f962b986df20310f2.tar.bz2 42-cub3d-8a695d62dcb9b8783918263f962b986df20310f2.tar.xz 42-cub3d-8a695d62dcb9b8783918263f962b986df20310f2.tar.zst 42-cub3d-8a695d62dcb9b8783918263f962b986df20310f2.zip |
Correct dir_x dir_y sqy sqx
Diffstat (limited to 'src/ft_init_lists.c')
-rw-r--r-- | src/ft_init_lists.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index 2105a64..76b56e3 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -47,8 +47,8 @@ t_player plist.start_x = 0; plist.start_y = 0; plist.cam_x = 0; - plist.dir_x = -1; - plist.dir_y = 0; + plist.dir_y = -1; + plist.dir_x = 0; plist.plane_x = 0; plist.plane_y = 0.66; plist.has_weapon[0] = 0; |