summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2014-10-26 19:44:01 +0000
committerOlivier Gayot <duskcoder@gmail.com>2014-10-26 19:44:01 +0000
commit40c476353b251cd2c423c8945480572b64381f44 (patch)
tree6b63902e08e0907ef02f51e7229677f2eb374c28 /main.c
parentbdedea6d43bd8656548fff341093146a0e131d32 (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.c4
1 files changed, 0 insertions, 4 deletions
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é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]);