fix probleme zone de jeu

This commit is contained in:
2024-12-15 18:56:12 +01:00
parent c5c2949538
commit ce2acefbc5
7 changed files with 52 additions and 13 deletions

View File

@@ -45,7 +45,7 @@ unsigned short int **creatArea2D (const unsigned int N)
void free2D (unsigned short int **tab, int N)
{
int i;
for (i = 0; i < N; ++i)
for (i = 0; i < N ; ++i)
{
free (tab[i]);
}
@@ -238,7 +238,7 @@ void inGameLoop (unsigned short int **tab2d, int N, vect *playerPos,
puts ("lose!");
finish = true;
}
screenDisplaySDL (tab2d, display_user);
screenDisplayGameSDL (tab2d, display_user);
}
last = SDL_SCANCODE_F21;
}