aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_lists.c
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2020-02-19 20:22:27 +0100
committersalaaad2 <arthurdurant263@gmail.com>2020-02-19 20:22:27 +0100
commit4984514d2bab3b04790cba631dc7ef8bd8399eff (patch)
treeb8c2c1bae9377f7aa2fdcf3c685834f7002b05c0 /src/ft_init_lists.c
parentCommit (diff)
download42-cub3d-4984514d2bab3b04790cba631dc7ef8bd8399eff.tar.gz
42-cub3d-4984514d2bab3b04790cba631dc7ef8bd8399eff.tar.bz2
42-cub3d-4984514d2bab3b04790cba631dc7ef8bd8399eff.tar.xz
42-cub3d-4984514d2bab3b04790cba631dc7ef8bd8399eff.tar.zst
42-cub3d-4984514d2bab3b04790cba631dc7ef8bd8399eff.zip
asdasdasd :^)
Diffstat (limited to '')
-rw-r--r--src/ft_init_lists.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c
index b8d7c7c..6917db2 100644
--- a/src/ft_init_lists.c
+++ b/src/ft_init_lists.c
@@ -38,6 +38,8 @@ static t_player
return (NULL);
plist->pos_x = 0;
plist->pos_y = 0;
+ plist->start_x = 0;
+ plist->start_y = 0;
plist->cam_x = 0;
plist->dir_x = -1;
plist->dir_y = 0;