summaryrefslogtreecommitdiff
path: root/jouer.c
diff options
context:
space:
mode:
Diffstat (limited to 'jouer.c')
-rw-r--r--jouer.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/jouer.c b/jouer.c
index 9081357..9cad17c 100644
--- a/jouer.c
+++ b/jouer.c
@@ -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;