diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2014-10-26 19:44:01 +0000 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2014-10-26 19:44:01 +0000 |
commit | 40c476353b251cd2c423c8945480572b64381f44 (patch) | |
tree | 6b63902e08e0907ef02f51e7229677f2eb374c28 /main.c | |
parent | bdedea6d43bd8656548fff341093146a0e131d32 (diff) |
game: fix segmentation fault whenever the game starts
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -244,10 +244,6 @@ void Fdechargerimages (SURFACES *surfaces)//dechargement des surfaces alouées { 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]); |