summaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'map.c')
-rw-r--r--map.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/map.c b/map.c
index d7b59d6..66a2165 100644
--- a/map.c
+++ b/map.c
@@ -1,12 +1,12 @@
-#include <SDL/SDL.h>
#include <stdio.h>
#include <stdlib.h>
+#include <SDL/SDL.h>
+#include <SDL/SDL_image.h>
#include "constantes.h"
#include "structures.h"
#include "prototypes.h"
-#include <SDL/SDL_image.h>
-void Fmap (SURFACES*surfaces, POSITIONS* positions,PERSONNAGES persos[],ENNEMIS ennemis[])
+void Fmap (SURFACES*surfaces, POSITIONS* positions, struct team_t *ally,ENNEMIS ennemis[])
{
int map[15][11];
int continuer=1;
@@ -24,7 +24,7 @@ void Fmap (SURFACES*surfaces, POSITIONS* positions,PERSONNAGES persos[],ENNEMIS
{
case SDLK_RETURN:
case SDLK_f:
- continuer=Fjouer(surfaces,positions,persos,ennemis);
+ continuer=Fjouer(surfaces,positions, ally,ennemis);
break;
case SDLK_ESCAPE:
case SDLK_a: