summaryrefslogtreecommitdiff
path: root/jouer.c
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-11 01:55:32 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-11 01:55:32 +0100
commitd590bfdcdfa8799439cffa41fc74346e9923b6e7 (patch)
treee171fd414935877fd3ddd1f79204dac22368e32d /jouer.c
parentb37b127792e09cb7148200e0bccf294892e9a889 (diff)
renamed the rects inside the struct positions
it is redundant in thus inconvenient to repeat 'position' inside a structure named position. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'jouer.c')
-rw-r--r--jouer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jouer.c b/jouer.c
index 82570e9..22d123c 100644
--- a/jouer.c
+++ b/jouer.c
@@ -419,7 +419,7 @@ int Fjouer (SURFACES *surfaces, POSITIONS *positions, struct team_t *t1, struct
SDL_Delay(1000);
- SDL_BlitSurface(surfaces->Pfondjeu, &positions->Vpositiondegats, surfaces->Pecran, &positions->Vpositiondegats);
+ SDL_BlitSurface(surfaces->background, &positions->degats, surfaces->screen, &positions->degats);
SDL_Flip(surfaces->Pecran);