diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-08 02:39:16 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-08 02:44:56 +0100 |
commit | c68227406beb7bc74a4179fb1b1b70bbeb6ad4a2 (patch) | |
tree | b390ed5f463c28e7d80f5b446eddac6a6eeaf6e9 /map.c | |
parent | 6d8a9ac6c08e414e8ebb57a6a2ef9b4779d599a7 (diff) |
use the new enemy team instead of the old array of ENEMIES
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'map.c')
-rw-r--r-- | map.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |