From c68227406beb7bc74a4179fb1b1b70bbeb6ad4a2 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Thu, 8 Jan 2015 02:39:16 +0100 Subject: use the new enemy team instead of the old array of ENEMIES Signed-off-by: Olivier Gayot --- map.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'map.c') diff --git a/map.c b/map.c index 66a2165..8b0ad00 100644 --- a/map.c +++ b/map.c @@ -6,7 +6,7 @@ #include "structures.h" #include "prototypes.h" -void Fmap (SURFACES*surfaces, POSITIONS* positions, struct team_t *ally,ENNEMIS ennemis[]) +void Fmap (SURFACES*surfaces, POSITIONS* positions, struct team_t *ally, struct team_t *enemy) { int map[15][11]; int continuer=1; @@ -24,7 +24,7 @@ void Fmap (SURFACES*surfaces, POSITIONS* positions, struct team_t *ally,ENNEMIS { case SDLK_RETURN: case SDLK_f: - continuer=Fjouer(surfaces,positions, ally,ennemis); + continuer = Fjouer(surfaces,positions, ally, enemy); break; case SDLK_ESCAPE: case SDLK_a: -- cgit v1.2.3