From 40c476353b251cd2c423c8945480572b64381f44 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sun, 26 Oct 2014 19:44:01 +0000 Subject: game: fix segmentation fault whenever the game starts Signed-off-by: Olivier Gayot --- main.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 8cbc3dc..1dc987e 100644 --- a/main.c +++ b/main.c @@ -244,10 +244,6 @@ void Fdechargerimages (SURFACES *surfaces)//dechargement des surfaces alou { SDL_FreeSurface(surfaces->Tperso[i]); } - for(i=0;i<5;i++) - { - SDL_FreeSurface(surfaces->Tennemi[i]); - } for(i=0;i<3;i++) { SDL_FreeSurface (surfaces->Pnomactions[i]); -- cgit v1.2.3