diff options
| -rw-r--r-- | constantes.h | 4 | ||||
| -rw-r--r-- | prototypes.h | 2 | 
2 files changed, 4 insertions, 2 deletions
| diff --git a/constantes.h b/constantes.h index 1b46e77..24111d3 100644 --- a/constantes.h +++ b/constantes.h @@ -133,7 +133,7 @@ else\          else\          selection=2;\      }\ -    Fchangercurseurpersos(surfaces,positions,selection,ennemis);\ +    Fchangercurseurpersos(surfaces,positions,selection,persos);\  }\  break;\  case SDLK_DOWN:\ @@ -166,7 +166,7 @@ else\          else\          selection=0;\      }\ -    Fchangercurseurpersos(surfaces,positions,selection,ennemis);\ +    Fchangercurseurpersos(surfaces,positions,selection,persos);\  }\  break; diff --git a/prototypes.h b/prototypes.h index 2634be1..00b621f 100644 --- a/prototypes.h +++ b/prototypes.h @@ -26,6 +26,8 @@ void Fremplirennemis (SURFACES *surfaces,int Vnbennemis,ENNEMIS ennemis[]);  int Fcalculerdegats(PERSONNAGES persos[],int *Vtourallie,int *min,ENNEMIS ennemis[],int selection,int camp,int type);  int Fcalculersoins(PERSONNAGES persos[],int *Vtourallie,int *min,ENNEMIS ennemis[],int selection);  void Fchangercurseur (SURFACES *surfaces, POSITIONS *positions,int selection,ENNEMIS ennemis[]); +void Fchangercurseurennemis (SURFACES *surfaces, POSITIONS *positions,int selection,ENNEMIS ennemis[]); +void Fchangercurseurpersos (SURFACES *surfaces, POSITIONS *positions,int selection,PERSONNAGES persos[]);  void Fafficherdegats (SURFACES *surfaces, POSITIONS *positions, int degats,int camp, int cible,PERSONNAGES persos[]);  void Fremplircompetencesennemis (ENNEMIS ennemis[],int Vnbennemis);  void Fselectionnermagienoire (SURFACES *surfaces,POSITIONS *positions,PERSONNAGES persos[],int *Vtourallie,ENNEMIS ennemis[],int Vnbennemis,int*Vtour); | 
