/* By: ljiriste <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/05 12:49:40 by ljiriste #+# #+# */
-/* Updated: 2024/03/19 11:29:49 by ljiriste ### ########.fr */
+/* Updated: 2024/03/19 11:31:32 by ljiriste ### ########.fr */
/* */
/* ************************************************************************** */
{
--count;
philos[count].id = count + 1;
- philos->times_eaten = 0;
+ philos[count].times_eaten = 0;
philos[count].settings = set;
philos[count].forks[0] = forks + count - count % 2;
if (count > 0)