summaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-08 02:39:16 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-08 02:44:56 +0100
commitc68227406beb7bc74a4179fb1b1b70bbeb6ad4a2 (patch)
treeb390ed5f463c28e7d80f5b446eddac6a6eeaf6e9 /map.c
parent6d8a9ac6c08e414e8ebb57a6a2ef9b4779d599a7 (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.c4
1 files changed, 2 insertions, 2 deletions
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: