diff options
Diffstat (limited to 'src/ft_init_lists.c')
-rw-r--r-- | src/ft_init_lists.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index 1c1089c..65c28d8 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -44,7 +44,6 @@ static t_player plist->dir_x = -1; plist->dir_y = 0; plist->plane_x = 0; - /* plist->plane_y = 0.66666666; */ plist->plane_y = 0.75; return (plist); } @@ -56,8 +55,7 @@ static t_win if (!(wlist = (t_win*)malloc(sizeof(t_win)))) return (NULL); - if (!(wlist->wlx = malloc(1)) || - !(wlist->winptr = malloc(1))) + if (!(wlist->winptr = malloc(1))) return (NULL); wlist->inited = 0; wlist->x_size = 0; |