Browse Source

Pas de « manche terminée » quand on ferme la fenêtre

master
Bastien 8 years ago
committed by Squiz
parent
commit
63fa197ab0
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      main.c

+ 2
- 1
main.c View File

@ -385,7 +385,8 @@ int main(int argc, char **argv) {
}
}
puts("fin de la partie");
display_animsg(&gui_res, &game_state, player_state[i].branch, player_state[i].name, "Manche terminée", 2000);
if(!quit)
display_animsg(&gui_res, &game_state, player_state[i].branch, player_state[i].name, "Manche terminée", 2000);
/* pour les joueurs qui n'ont pas perdu */
for (i=0; i < nb_player ; i++)
if( player_state[i].error < 3 && player_state[i].ia_lib_p )


Loading…
Cancel
Save