la position des tetri dans la recursive est mtn garde en memoire

This commit is contained in:
Hugo LAMY
2019-05-01 23:46:43 +02:00
parent 929e070fb0
commit 05e265b3b1
2 changed files with 24 additions and 14 deletions

View File

@@ -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');