diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-07 22:02:49 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-07 23:30:12 +0100 |
commit | 2612e584f6aab4515c7da5a7a6ea005d0e8344ba (patch) | |
tree | 0f584c91c3c170dd5452bc5370a4b21bf0fb8762 /blits.c | |
parent | 45d54652a8005ccae2466a0e4757017c7b337e3b (diff) |
Fix invalid blit position
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'blits.c')
-rw-r--r-- | blits.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; |