Skip to content
Snippets Groups Projects
Commit 71716072 authored by FOURREAUX Mathias's avatar FOURREAUX Mathias
Browse files

correction score

parent 3999eaa0
No related branches found
No related tags found
No related merge requests found
......@@ -247,7 +247,6 @@ int main(int argc, char *argv[])
char score[13];
sprintf(score, "Score : %d \n", nbTues);
fputs(score, fichier);
fclose(fichier);
gameover = true;
}
......@@ -305,6 +304,7 @@ int main(int argc, char *argv[])
}
}
fclose(fichier);
SDL_DestroyWindow(fenetre);
SDL_DestroyRenderer(ecran);
Mix_FreeMusic(musique);
......
Score : 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment