summaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
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: