summaryrefslogtreecommitdiff
path: root/blits.c
diff options
context:
space:
mode:
Diffstat (limited to 'blits.c')
-rw-r--r--blits.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/blits.c b/blits.c
index 45d5ba5..502883f 100644
--- a/blits.c
+++ b/blits.c
@@ -60,9 +60,7 @@ void blit_ally_team(SURFACES *surfaces, POSITIONS *positions, struct team_t *tea
for (int i = 0; i < team->chr_cnt; i++) {
struct character_t *chr = &team->chrs[i];
- /* TODO blit either default or red surf */
- SDL_BlitSurface(chr->def_surf, NULL, surfaces->Pecran, &positions->Vpositionpersos[i]);
-
+ SDL_BlitSurface(chr->surf, NULL, surfaces->Pecran, &chr->pos);
if (!chr->alive) {
positions->Vpositionmort.x=positions->Vpositionpersos[i].x+surfaces->Tperso[i]->w/2-surfaces->Pmort->w/2;