diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-07 13:43:25 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-07 13:43:25 +0100 |
commit | 9bbff3216b9f99d86f3757dbad70c9d91ef8d700 (patch) | |
tree | a97b99b0dacdff2f72d0035f78276c190329df4d /jouer.c | |
parent | b91ac429108096a3de75b9b81ca2c637b27524ba (diff) |
fixed some compilation warnings
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'jouer.c')
-rw-r--r-- | jouer.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -145,6 +145,10 @@ void Fchoisirtypeennemis (PERSONNAGES persos[],SURFACES *surfaces,ENNEMIS ennemi { int moyenne=0; int i; + + /* TODO understand why this is needed */ + (void) surfaces; + for (i=0;i<3;i++) moyenne+=persos[i].nv; moyenne/=3; |