summaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'map.c')
-rw-r--r--map.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/map.c b/map.c
index 2af443a..6783873 100644
--- a/map.c
+++ b/map.c
@@ -6,8 +6,7 @@
#include "structures.h"
#include "prototypes.h"
-int battle(SURFACES *surfaces, POSITIONS *positions,
- struct team_t *t1, struct team_t *t2);
+int battle(struct team_t *t1, struct team_t *t2);
void Fmap (SURFACES*surfaces, POSITIONS* positions,
struct team_t *t1, struct team_t *t2)
@@ -44,7 +43,10 @@ void Fmap (SURFACES*surfaces, POSITIONS* positions,
//une fois le jeu quitté !
Fdechargersurfaces_map(surfaces);
#else
- battle(surfaces, positions, t1, t2);
+ (void) surfaces;
+ (void) positions;
+
+ battle(t1, t2);
#endif
}