la position des tetri dans la recursive est mtn garde en memoire
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: vmanzoni <vmanzoni@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2019/04/15 14:48:14 by vmanzoni #+# #+# */
|
||||
/* Updated: 2019/04/30 14:19:32 by hulamy ### ########.fr */
|
||||
/* Updated: 2019/05/01 23:35:16 by hulamy ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -89,6 +89,7 @@ void fill_list(char line[], t_fillist *list)
|
||||
list->height = i;
|
||||
// fabrique la ligne pour le tetriminos de la bonne largeur
|
||||
list->tetribit = reduce_tetri(list->tetribit, list->width);
|
||||
list->position = 0;
|
||||
|
||||
// imression pour tests
|
||||
// ft_putchar('\n');
|
||||
|
||||
Reference in New Issue
Block a user