summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/main.c b/main.c
index e6fc307..3167cb0 100644
--- a/main.c
+++ b/main.c
@@ -298,10 +298,7 @@ void Fdechargerimages (SURFACES *surfaces)//dechargement des surfaces alouées
SDL_FreeSurface(surfaces->Ppmcible);
SDL_FreeSurface(surfaces->Ppvpersos);
SDL_FreeSurface(surfaces->Ppmpersos);
- for(i = 0;i < 3;i++)
- {
- SDL_FreeSurface(surfaces->Tperso[i]);
- }
+
for(i=0;i<3;i++)
{
SDL_FreeSurface (surfaces->Pnomactions[i]);