createur de map fini

This commit is contained in:
cyjullien1
2025-01-06 16:05:47 +01:00
parent 46dc1a800a
commit 13fd66cecb
7 changed files with 52 additions and 40 deletions

View File

@@ -39,6 +39,7 @@ vect *fileToTab2D (const char *name_file, char **tab,
case 'C':
tab[x][y] = BOX;
break;
case 'I':
targets = realloc (targets, sizeof (vect) * (++nbr_targets[0]));
targets[nbr_targets[0] - 1].x = x;