deux opti ilots et identiques

This commit is contained in:
pia Lepetit
2019-06-04 16:56:24 +02:00
parent 602ebf070d
commit 0e52943b34
3 changed files with 61 additions and 9 deletions

View File

@@ -16,7 +16,7 @@
** function that print the given tetris if flag p is present
*/
t_fillist *print_tetri(t_fillist *list)
t_fillist *print_tetri(t_fillist *list, int num)
{
unsigned int print;
t_fillist *tmp;
@@ -39,6 +39,7 @@ t_fillist *print_tetri(t_fillist *list)
if (list->dope[1] && tmp->memory)
ft_putendl("have a copy");
ft_putchar('\n');
tmp->total = num;
tmp = tmp->next;
}
}