diff options
Diffstat (limited to 'jouer.c')
-rw-r--r-- | jouer.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -246,12 +246,7 @@ int Fjouer (SURFACES *surfaces, POSITIONS *positions, struct team_t *t1, struct unsigned int gagne,perdu; - if(surfaces->Pfondjeu!=NULL) - { - SDL_FreeSurface(surfaces->Pfondjeu); - surfaces->Pfondjeu=NULL; - } - Fblitterfond(surfaces); // on blit le fond du jeu + SDL_BlitSurface(surfaces->background, NULL, surfaces->Pecran, NULL); /* compute whether the allies or the enemies should begin */ playing_team = (rand() % 2) ? t1 : t2; |