summaryrefslogtreecommitdiff
path: root/jouer.c
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-08 17:37:13 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-08 17:42:25 +0100
commitac5c469494478bf3774d412581e342d9fa97ec16 (patch)
tree745ba0638ecafd7335f715d52f1090be9e9b8a3e /jouer.c
parentc416b1a5520ac5cfad0311d650a76b416c889e50 (diff)
initialize the items (aka objects) of the teams
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'jouer.c')
-rw-r--r--jouer.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/jouer.c b/jouer.c
index 8603df7..bbe246d 100644
--- a/jouer.c
+++ b/jouer.c
@@ -237,7 +237,6 @@ int Fjouer (SURFACES *surfaces, POSITIONS *positions, struct team_t *ally, struc
surfaces->Pfondjeu=NULL;
}
Fblitterfond(surfaces); // on blit le fond du jeu
- Fremplirobjets(&ally->objects); // on monte les variables potions ether, etc
/* compute whether the allies or the enemies should begin */
Vtour = rand() % 2;
@@ -332,11 +331,3 @@ int Fjouer (SURFACES *surfaces, POSITIONS *positions, struct team_t *ally, struc
}
return 0;
}
-
-void Fremplirobjets(OBJET *objets)
-{
- objets->potions=10;
- objets->ethers=10;
- objets->potionsplus=5;
- objets->ethersplus=5;
-}