Commit 71716072 authored by FOURREAUX Mathias's avatar FOURREAUX Mathias
Browse files

correction score

parent 3999eaa0
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment